summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_batch.h
diff options
context:
space:
mode:
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)