summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_flush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_flush.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_flush.c b/src/mesa/pipe/i915simple/i915_flush.c
index 5a80ed5e2f5..51cf9960aad 100644
--- a/src/mesa/pipe/i915simple/i915_flush.c
+++ b/src/mesa/pipe/i915simple/i915_flush.c
@@ -69,7 +69,7 @@ static void i915_flush( struct pipe_context *pipe,
FLUSH_BATCH();
if (flags & PIPE_FLUSH_WAIT) {
- i915->pipe.winsys->wait_idle(i915->pipe.winsys, i915->pipe.private);
+ i915->winsys->batch_finish(i915->winsys);
}
}