diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-24 14:08:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-24 14:08:07 +0400 |
commit | ace1c998c42263712bccbce5e2942aecdc8c592e (patch) | |
tree | ddd7dcb16f9e14ac9a59fdba6ba27748b3fa2432 /source/blender/gpu | |
parent | 39c0e690d3ad350195c8c68b7a8d317d056ff6a0 (diff) |
warning cleanup, also made voxel.c and volumetric.c use BM_INLINE define rather then having their own ifdefs in each file.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_buffers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c index 74bef43e928..dd5520608f1 100644 --- a/source/blender/gpu/intern/gpu_buffers.c +++ b/source/blender/gpu/intern/gpu_buffers.c @@ -1515,8 +1515,9 @@ void GPU_buffer_unbind() else break; } - if( GLStates != 0 ) + if( GLStates != 0 ) { DEBUG_VBO( "Some weird OpenGL state is still set. Why?" ); + } if( useVBOs ) glBindBufferARB( GL_ARRAY_BUFFER_ARB, 0 ); } |