summaryrefslogtreecommitdiffstats
path: root/progs/perf/vbo.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/perf/vbo.c')
-rw-r--r--progs/perf/vbo.c1
1 files changed, 1 insertions, 0 deletions
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);