[Bf-blender-cvs] [1b2fc74] master: Fix typo in VBO

Antony Riakiotakis noreply at git.blender.org
Tue Dec 16 20:20:55 CET 2014


Commit: 1b2fc747925ff369719fdcf97c56a01d1f28b76a
Author: Antony Riakiotakis
Date:   Tue Dec 16 20:20:28 2014 +0100
Branches: master
https://developer.blender.org/rB1b2fc747925ff369719fdcf97c56a01d1f28b76a

Fix typo in VBO

===================================================================

M	source/blender/gpu/intern/gpu_buffers.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index dcde0e9..f0ef55a 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);
 	}




More information about the Bf-blender-cvs mailing list