diff options
author | Keith Whitwell <[email protected]> | 2006-09-07 19:58:16 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-09-07 19:58:16 +0000 |
commit | 3e05902d304e71493d05edef4c31c6ed1a22bf17 (patch) | |
tree | 92bf3875f07ea4c0c8b595f05159bb14b4a6ef65 /src/mesa/drivers/dri/i965/intel_batchbuffer.c | |
parent | 493b2ddecb47fdacc4b73d9c9a3ba2e46489105f (diff) |
Consistent return values from the bm* functions.
Get aubfile generation working again.
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 636f3630950..598ce08735d 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; |