mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
st/mesa: always call FLUSH_CURRENT before st->pipe->flush()
Undoes part of commit f455ca6 which would permit pipe->flush() to be
called while the VBO module still had its buffers mapped. Some
drivers care deeply about this. Sorry for not spotting this earlier.
This commit is contained in:
parent
64d18b819b
commit
37e955d491
1 changed files with 1 additions and 2 deletions
|
|
@ -91,8 +91,7 @@ display_front_buffer(struct st_context *st)
|
|||
void st_flush( struct st_context *st, uint pipeFlushFlags,
|
||||
struct pipe_fence_handle **fence )
|
||||
{
|
||||
if (pipeFlushFlags & PIPE_FLUSH_RENDER_CACHE)
|
||||
FLUSH_CURRENT(st->ctx, 0);
|
||||
FLUSH_CURRENT(st->ctx, 0);
|
||||
|
||||
/* Release any vertex buffers that might potentially be accessed in
|
||||
* successive frames:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue