From: Keith Whitwell Date: Tue, 28 Apr 2009 16:50:19 +0000 (+0100) Subject: mesa/st: protect internal flushes with FLUSH_CURRENT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=801a33ae44355b89cebed47e9e48e39545522f6e;p=mesa.git mesa/st: protect internal flushes with FLUSH_CURRENT Already doing this for driver.flush() --- 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: