aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_flush.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-04-28 17:50:19 +0100
committerKeith Whitwell <[email protected]>2009-04-28 18:15:18 +0100
commit801a33ae44355b89cebed47e9e48e39545522f6e (patch)
treee8f6eefe38e84a7fae0ca631a5736ef4e3d4696a /src/mesa/state_tracker/st_cb_flush.c
parentc0bff53334194f9d1aada23510123f1591d5512e (diff)
mesa/st: protect internal flushes with FLUSH_CURRENT
Already doing this for driver.flush()
Diffstat (limited to 'src/mesa/state_tracker/st_cb_flush.c')
-rw-r--r--src/mesa/state_tracker/st_cb_flush.c2
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 7d7d3823c99..fbaffd154f9 100644
--- a/src/mesa/state_tracker/st_cb_flush.c
+++ b/src/mesa/state_tracker/st_cb_flush.c
@@ -82,7 +82,7 @@ display_front_buffer(struct st_context *st)
void st_flush( struct st_context *st, uint pipeFlushFlags,
struct pipe_fence_handle **fence )
{
- FLUSH_VERTICES(st->ctx, 0);
+ FLUSH_CURRENT(st->ctx, 0);
/* Release any vertex buffers that might potentially be accessed in
* successive frames: