From a0549f6634c3573bad5544ad28a208f25c7e4644 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Wed, 23 Sep 2009 20:24:35 +0200 Subject: progs/perf: Actually bind the newly created vbo. --- progs/perf/vbo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'progs/perf') diff --git a/progs/perf/vbo.c b/progs/perf/vbo.c index a9d4102de9f..b326c056ec6 100644 --- a/progs/perf/vbo.c +++ b/progs/perf/vbo.c @@ -147,6 +147,7 @@ CreateDrawDestroyVBO(unsigned count) GLuint vbo; /* create/load */ glGenBuffersARB(1, &vbo); + glBindBufferARB(GL_ARRAY_BUFFER_ARB, vbo); glBufferDataARB(GL_ARRAY_BUFFER, VBOSize, VBOData, GL_STREAM_DRAW_ARB); /* draw */ glVertexPointer(2, GL_FLOAT, sizeof(Vertex0), (void *) 0); -- cgit v1.2.3