diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-09-26 01:11:51 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-03 17:09:24 +0400 |
commit | 4284e3d303f7613eb590e672e2f48e0921a4e306 (patch) | |
tree | 71c5995727d08c97910667061b5efa6c14936629 /source/blender | |
parent | f87b75ac16944fbba80bd5dc34eaebb23d47bd22 (diff) |
OpenGL fix: GL_COLOR_ARRAY is client state
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 8c746792429..2f0f6d59b8c 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); } |