mesa/st: protect internal flushes with FLUSH_CURRENT

Already doing this for driver.flush()
This commit is contained in:
Keith Whitwell 2009-04-28 17:50:19 +01:00
parent c0bff53334
commit 801a33ae44
1 changed files with 1 additions and 1 deletions

View File

@ -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: