diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/common/meta_tex_subimage.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/meta_tex_subimage.c b/src/mesa/drivers/common/meta_tex_subimage.c index 62c3fce4249..988af91ce4e 100644 --- a/src/mesa/drivers/common/meta_tex_subimage.c +++ b/src/mesa/drivers/common/meta_tex_subimage.c @@ -355,6 +355,9 @@ _mesa_meta_pbo_GetTexSubImage(struct gl_context *ctx, GLuint dims, */ if (need_signed_unsigned_int_conversion(rb->Format, format, type)) return false; + } else { + if (need_signed_unsigned_int_conversion(tex_image->TexFormat, format, type)) + return false; } /* For arrays, use a tall (height * depth) 2D texture but taking into |