diff options
author | Keith Whitwell <[email protected]> | 2007-08-10 12:57:14 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-08-10 12:58:26 +0100 |
commit | 5c2c05600081f811e001a81a600778de0fcab85d (patch) | |
tree | ba4e239592e9798ca3e660158c668afd7d145639 /src/mesa/pipe/i915simple/i915_flush.c | |
parent | 9ac1a8d416c2bd50ca10186ca09f5e86f6fa4ce6 (diff) |
Handle glFlush/glFinish through the state tracker.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_flush.c')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_flush.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/pipe/i915simple/i915_flush.c b/src/mesa/pipe/i915simple/i915_flush.c index 1cf945e9a2b..8af4ce770cf 100644 --- a/src/mesa/pipe/i915simple/i915_flush.c +++ b/src/mesa/pipe/i915simple/i915_flush.c @@ -66,11 +66,10 @@ static void i915_flush( struct pipe_context *pipe, FLUSH_BATCH(); } -static void i915_finish(struct pipe_context *pipe) +static void i915_wait_idle(struct pipe_context *pipe) { struct i915_context *i915 = i915_context(pipe); - i915_flush( pipe, 0 ); i915->winsys->batch_wait_idle( i915->winsys ); } @@ -78,5 +77,5 @@ static void i915_finish(struct pipe_context *pipe) void i915_init_flush_functions( struct i915_context *i915 ) { i915->pipe.flush = i915_flush; - i915->pipe.finish = i915_finish; + i915->pipe.wait_idle = i915_wait_idle; } |