diff options
author | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2009-10-21 21:56:26 +0400 |
---|---|---|
committer | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2009-10-21 21:56:26 +0400 |
commit | 5fb73d8b81fbd1823a6c807714d6b3589e918a3b (patch) | |
tree | 4fc89128e6684313da52ad76e4b43b4bb0c62950 /source/blender/gpu/intern/gpu_buffers.c | |
parent | eab11543f3c411940744ab2f447a5c222d5a50dd (diff) |
Make compiler happy, remove doubtful non init usage.
Diffstat (limited to 'source/blender/gpu/intern/gpu_buffers.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c index 2563f7977cc..9e164f46e4c 100644 --- a/source/blender/gpu/intern/gpu_buffers.c +++ b/source/blender/gpu/intern/gpu_buffers.c @@ -1168,7 +1168,7 @@ void GPU_color4_upload( DerivedMesh *dm, unsigned char *data ) void GPU_color_switch( int mode ) { if( mode ) { - if( !GLStates & GPU_BUFFER_COLOR_STATE ) + if( !(GLStates & GPU_BUFFER_COLOR_STATE) ) glEnableClientState( GL_COLOR_ARRAY ); GLStates |= GPU_BUFFER_COLOR_STATE; } |