From: Jean-Philippe Andre Date: Thu, 15 Oct 2015 11:09:11 +0000 (+0900) Subject: Evas: Fix image orientation with GL engine X-Git-Tag: v1.16.0-beta2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c927f6e4eafbc1eedec4cd512aa16effe4240299;p=platform%2Fupstream%2Fefl.git Evas: Fix image orientation with GL engine Fixes T2738 Not sure what to do if yinvert is true. How to handle image orientation then? Flip vertically on top of the current orientation? --- diff --git a/src/modules/evas/engines/gl_common/evas_gl_context.c b/src/modules/evas/engines/gl_common/evas_gl_context.c index bb0a754..17becda 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_context.c +++ b/src/modules/evas/engines/gl_common/evas_gl_context.c @@ -2192,8 +2192,9 @@ evas_gl_common_context_image_push(Evas_Engine_GL_Context *gc, yinvert = tex->im->native.yinvert; } - if ((tex->im) && (tex->im->native.data) && (!yinvert)) + if ((tex->im) && (!yinvert)) { + // FIXME: What if yinvert is true? How to test that? switch (tex->im->orient) { case EVAS_IMAGE_ORIENT_NONE: