diff options
author | Keith Packard <keithp@neko.keithp.com> | 2007-01-06 17:13:45 -0800 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-01-06 17:13:45 -0800 |
commit | 62db3cc34982d2fec9165633813ef6e656f7d497 (patch) | |
tree | 29c4abaa9c36dd8fe6c18147dce7c3383bc28164 /src/mesa/drivers/dri/i965/bufmgr_fake.c | |
parent | 9311c29558156859c6b26389c1b20a25d361d39d (diff) |
Various warning fixes for i965 driver.
vertex/fragment programs provided as const.
bmSetFenceLock should return bmSetFence value.
Diffstat (limited to 'src/mesa/drivers/dri/i965/bufmgr_fake.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/bufmgr_fake.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/bufmgr_fake.c b/src/mesa/drivers/dri/i965/bufmgr_fake.c index 205dc722c0..24ee11edd8 100644 --- a/src/mesa/drivers/dri/i965/bufmgr_fake.c +++ b/src/mesa/drivers/dri/i965/bufmgr_fake.c @@ -1329,9 +1329,11 @@ unsigned bmSetFence( struct intel_context *intel ) unsigned bmSetFenceLock( struct intel_context *intel ) { + unsigned last; LOCK(intel->bm); - bmSetFence(intel); + last = bmSetFence(intel); UNLOCK(intel->bm); + return last; } unsigned bmLockAndFence( struct intel_context *intel ) { |