diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-12-16 22:20:28 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-12-16 22:20:41 +0300 |
commit | 1b2fc747925ff369719fdcf97c56a01d1f28b76a (patch) | |
tree | 9df3750a48d495879416ce0318b715db7e2a14c2 /source/blender/gpu | |
parent | 72330b97a2953959054593058438be80b5c53120 (diff) |
Fix typo in VBO
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c index dcde0e9585c..f0ef55ae673 100644 --- a/source/blender/gpu/intern/gpu_buffers.c +++ b/source/blender/gpu/intern/gpu_buffers.c @@ -1225,7 +1225,7 @@ void GPU_edge_setup(DerivedMesh *dm) return; glEnableClientState(GL_VERTEX_ARRAY); - if (dm->drawObject->edges->use_vbo) { + if (dm->drawObject->points->use_vbo) { glBindBufferARB(GL_ARRAY_BUFFER_ARB, dm->drawObject->points->id); glVertexPointer(3, GL_FLOAT, 0, 0); } |