diff --git a/cogl/driver/gles/cogl-texture-driver-gles.c b/cogl/driver/gles/cogl-texture-driver-gles.c index f33f05199..0b0234e8c 100644 --- a/cogl/driver/gles/cogl-texture-driver-gles.c +++ b/cogl/driver/gles/cogl-texture-driver-gles.c @@ -285,7 +285,7 @@ _cogl_texture_driver_upload_to_gl_3d (GLenum gl_target, 0, image_height * i, 0, 0, bmp_width, - bmp_height); + height); data = _cogl_bitmap_bind (bmp, COGL_BUFFER_ACCESS_READ, 0);