Commit: 4284e3d303f7613eb590e672e2f48e0921a4e306
Author: Antony Riakiotakis
Date: Thu Sep 25 23:11:51 2014 +0200
Branches: blender-v2.72-release
https://developer.blender.org/rB4284e3d303f7613eb590e672e2f48e0921a4e306
OpenGL fix: GL_COLOR_ARRAY is client state
===================================================================
M source/blender/editors/space_view3d/drawobject.c
===================================================================
diff --git a/source/blender/editors/space_view3d/drawobject.c
b/source/blender/editors/space_view3d/drawobject.c
index 8c74679..2f0f6d5 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -5182,7 +5182,7 @@ static void draw_new_particle_system(Scene *scene, View3D
*v3d, RegionView3D *rv
/* restore & clean up */
if (1) { //ob_dt > OB_WIRE) {
if (part->draw_col == PART_DRAW_COL_MAT)
- glDisable(GL_COLOR_ARRAY);
+ glDisableClientState(GL_COLOR_ARRAY);
glDisable(GL_COLOR_MATERIAL);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs