mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
gallium: need to finish, not flush, in st_copy_texsubimage()
This commit is contained in:
parent
63b915d743
commit
66682651b6
1 changed files with 2 additions and 1 deletions
|
|
@ -1053,7 +1053,8 @@ st_copy_texsubimage(GLcontext *ctx,
|
|||
GLboolean use_fallback = GL_TRUE;
|
||||
GLboolean matching_base_formats;
|
||||
|
||||
st_flush(ctx->st, PIPE_FLUSH_RENDER_CACHE, NULL);
|
||||
/* any rendering in progress must complete before we grab the fb image */
|
||||
st_finish(ctx->st);
|
||||
|
||||
/* determine if copying depth or color data */
|
||||
if (texBaseFormat == GL_DEPTH_COMPONENT) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue