diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_batchbuffer.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_batchbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c index 636f363095..598ce08735 100644 --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c @@ -178,7 +178,7 @@ GLboolean intel_batchbuffer_flush( struct intel_batchbuffer *batch ) */ offset = bmBufferOffset(batch->intel, batch->buffer); - if (!bmValidateBuffers( batch->intel )) { + if (bmValidateBuffers( batch->intel ) != 0) { assert(intel->locked); bmReleaseBuffers( batch->intel ); retval = GL_FALSE; |