mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
mesa/st: restore flush to copy_texsubimage (was previously finish)
Need a flush here even though the original finish was overkill.
This commit is contained in:
parent
557d2bb423
commit
503632557e
1 changed files with 3 additions and 0 deletions
|
|
@ -1317,6 +1317,9 @@ st_copy_texsubimage(GLcontext *ctx,
|
|||
GLboolean use_fallback = GL_TRUE;
|
||||
GLboolean matching_base_formats;
|
||||
|
||||
/* any rendering in progress must flushed before we grab the fb image */
|
||||
st_flush(ctx->st, PIPE_FLUSH_RENDER_CACHE, NULL);
|
||||
|
||||
/* make sure finalize_textures has been called?
|
||||
*/
|
||||
if (0) st_validate_state(ctx->st);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue