summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/evas/engines/gl_generic/evas_engine.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c
index 34d3f454be..63fe2d8d53 100644
--- a/src/modules/evas/engines/gl_generic/evas_engine.c
+++ b/src/modules/evas/engines/gl_generic/evas_engine.c
@@ -1190,6 +1190,13 @@ eng_image_scaled_update(void *data EINA_UNUSED, void *scaled, void *image,
1190 (dst->w == dst_w) && (dst->h == dst_h)) 1190 (dst->w == dst_w) && (dst->h == dst_h))
1191 return dst; 1191 return dst;
1192 1192
1193 evas_gl_common_image_update(gc, src);
1194 if (!src->tex)
1195 {
1196 ERR("No source texture.");
1197 return NULL;
1198 }
1199
1193 if (dst) 1200 if (dst)
1194 { 1201 {
1195 if (dst->scaled.origin == src) 1202 if (dst->scaled.origin == src)
@@ -1206,12 +1213,6 @@ eng_image_scaled_update(void *data EINA_UNUSED, void *scaled, void *image,
1206 } 1213 }
1207 evas_gl_common_image_free(dst); 1214 evas_gl_common_image_free(dst);
1208 } 1215 }
1209 evas_gl_common_image_update(gc, src);
1210 if (!src->tex)
1211 {
1212 ERR("No source texture.");
1213 return NULL;
1214 }
1215 1216
1216 dst = calloc(1, sizeof(Evas_GL_Image)); 1217 dst = calloc(1, sizeof(Evas_GL_Image));
1217 if (!dst) return NULL; 1218 if (!dst) return NULL;