summaryrefslogtreecommitdiff
path: root/cogl
diff options
context:
space:
mode:
Diffstat (limited to 'cogl')
-rw-r--r--cogl/driver/gles/cogl-texture-driver-gles.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cogl/driver/gles/cogl-texture-driver-gles.c b/cogl/driver/gles/cogl-texture-driver-gles.c
index d4d2b5d0..e19721c8 100644
--- a/cogl/driver/gles/cogl-texture-driver-gles.c
+++ b/cogl/driver/gles/cogl-texture-driver-gles.c
@@ -206,6 +206,8 @@ _cogl_texture_driver_upload_subregion_to_gl (CoglContext *ctx,
src_x, src_y,
0, 0, /* dst_x/y */
width, height);
+
+ src_x = src_y = 0;
}
else
slice_bmp = prepare_bitmap_alignment_for_upload (ctx, source_bmp);