diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2008-04-04 16:17:33 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2008-04-04 16:17:33 +0100 |
commit | 7b5303adbf5965510061a21f40d40c931add73eb (patch) | |
tree | d1e188d44088739b29160812fb36f45bad1e73a8 /src/mesa/state_tracker/st_cb_flush.c | |
parent | 0b20d1b9b5e0514a68ab460d748753d29df2e70b (diff) |
gallium: Call st_flush() instead of st_gl_flush() in st_finish().
This is enough for the current purpose of st_finish(), which is to wait for
things to settle down before context teardown.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_flush.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_flush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_flush.c b/src/mesa/state_tracker/st_cb_flush.c index 1de3676bda..44bf77ae71 100644 --- a/src/mesa/state_tracker/st_cb_flush.c +++ b/src/mesa/state_tracker/st_cb_flush.c @@ -107,7 +107,7 @@ void st_finish( struct st_context *st ) { struct pipe_fence_handle *fence = NULL; - st_gl_flush(st, PIPE_FLUSH_RENDER_CACHE, &fence); + st_flush(st, PIPE_FLUSH_RENDER_CACHE, &fence); st->pipe->winsys->fence_finish(st->pipe->winsys, fence, 0); st->pipe->winsys->fence_reference(st->pipe->winsys, &fence, NULL); |