summaryrefslogtreecommitdiff
path: root/cogl/cogl-texture-rectangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-texture-rectangle.c')
-rw-r--r--cogl/cogl-texture-rectangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-texture-rectangle.c b/cogl/cogl-texture-rectangle.c
index a2eb4a10..db7968dc 100644
--- a/cogl/cogl-texture-rectangle.c
+++ b/cogl/cogl-texture-rectangle.c
@@ -581,7 +581,7 @@ _cogl_texture_rectangle_set_region (CoglTexture *tex,
upload_bmp =
_cogl_bitmap_convert_for_upload (bmp,
- cogl_texture_get_format (tex),
+ _cogl_texture_get_format (tex),
FALSE, /* can't convert in place */
error);
if (upload_bmp == NULL)