Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-09-26 01:11:51 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-09-26 01:12:02 +0400
commitaf069cd013e14642cecb46026f929cd5c897fd05 (patch)
treef57c4f941e67ec682c5ce750a4581bfa11226cd2
parent2307bd7174da44284205d3dc18fb4845cac5cad0 (diff)
OpenGL fix: GL_COLOR_ARRAY is client state
-rw-r--r--source/blender/editors/space_view3d/drawobject.c2
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);
}