summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_batch.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2007-11-16 17:36:35 +0000
committerJosé Fonseca <[email protected]>2007-11-17 15:39:36 +0000
commitdec60d33b2570cf2bdce72a00a1539ee93133f91 (patch)
treefa153cff2b98e93d56958faf165d99c523786241 /src/mesa/pipe/i915simple/i915_batch.h
parent34a00276c7b2ee8ab88a56905352023f8a435a53 (diff)
Proper fence reference counting.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_batch.h')
-rw-r--r--src/mesa/pipe/i915simple/i915_batch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_batch.h b/src/mesa/pipe/i915simple/i915_batch.h
index 99b03c37db1..603d193f626 100644
--- a/src/mesa/pipe/i915simple/i915_batch.h
+++ b/src/mesa/pipe/i915simple/i915_batch.h
@@ -46,7 +46,7 @@
#define FLUSH_BATCH() do { \
if (0) i915_dump_batchbuffer( i915 ); \
- i915->last_fence = i915->winsys->batch_flush( i915->winsys ); \
+ i915->winsys->batch_flush( i915->winsys, &i915->last_fence ); \
i915->batch_start = NULL; \
i915->hardware_dirty = ~0; \
} while (0)