gallium: Call st_flush() instead of st_gl_flush() in st_finish().
authorMichel Dänzer <michel@tungstengraphics.com>
Fri, 4 Apr 2008 15:17:33 +0000 (16:17 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Fri, 4 Apr 2008 15:17:33 +0000 (16:17 +0100)
This is enough for the current purpose of st_finish(), which is to wait for
things to settle down before context teardown.

src/mesa/state_tracker/st_cb_flush.c

index 1de3676bda65a4f73c26ecc5b1e06f04cb60809d..44bf77ae71eeeb3a31056e61a7aa7152dba6cf55 100644 (file)
@@ -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);