aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta_copy_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/common/meta_copy_image.c')
-rw-r--r--src/mesa/drivers/common/meta_copy_image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta_copy_image.c b/src/mesa/drivers/common/meta_copy_image.c
index fc0cbaf1bd8..1729766f78d 100644
--- a/src/mesa/drivers/common/meta_copy_image.c
+++ b/src/mesa/drivers/common/meta_copy_image.c
@@ -189,7 +189,8 @@ _mesa_meta_CopyImageSubData_uncompressed(struct gl_context *ctx,
* We have already created views to ensure that the texture formats
* match.
*/
- ctx->Driver.BlitFramebuffer(ctx, src_x, src_y,
+ ctx->Driver.BlitFramebuffer(ctx, ctx->ReadBuffer, ctx->DrawBuffer,
+ src_x, src_y,
src_x + src_width, src_y + src_height,
dst_x, dst_y,
dst_x + src_width, dst_y + src_height,