diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-09-26 01:11:51 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-09-26 01:12:02 +0400 |
commit | af069cd013e14642cecb46026f929cd5c897fd05 (patch) | |
tree | f57c4f941e67ec682c5ce750a4581bfa11226cd2 /source/blender | |
parent | 2307bd7174da44284205d3dc18fb4845cac5cad0 (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); } |