summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/gl_common/evas_gl_image.c')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_image.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_image.c b/src/modules/evas/engines/gl_common/evas_gl_image.c
index 13ca077cac..c63e22ecc3 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_image.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_image.c
@@ -602,6 +602,11 @@ void
602evas_gl_common_image_content_hint_set(Evas_GL_Image *im, int hint) 602evas_gl_common_image_content_hint_set(Evas_GL_Image *im, int hint)
603{ 603{
604 if (im->content_hint == hint) return; 604 if (im->content_hint == hint) return;
605 if ((im->gc) &&
606 ((!im->gc->shared->info.sec_image_map) &&
607 ((!im->gc->shared->info.sec_tbm_surface) ||
608 (!im->gc->shared->info.egl_tbm_ext))))
609 return;
605 im->content_hint = hint; 610 im->content_hint = hint;
606 if (!im->gc) return; 611 if (!im->gc) return;
607 if (!im->gc->shared->info.bgra) return; 612 if (!im->gc->shared->info.bgra) return;