mesa/st: protect internal flushes with FLUSH_CURRENT
Already doing this for driver.flush()
This commit is contained in:
parent
c0bff53334
commit
801a33ae44
|
@ -82,7 +82,7 @@ display_front_buffer(struct st_context *st)
|
||||||
void st_flush( struct st_context *st, uint pipeFlushFlags,
|
void st_flush( struct st_context *st, uint pipeFlushFlags,
|
||||||
struct pipe_fence_handle **fence )
|
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
|
/* Release any vertex buffers that might potentially be accessed in
|
||||||
* successive frames:
|
* successive frames:
|
||||||
|
|
Loading…
Reference in New Issue