summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-10-15 20:09:11 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-10-16 10:49:34 +0900
commitc927f6e4eafbc1eedec4cd512aa16effe4240299 (patch)
tree2d2fca25b34336056beec385db2e240683cd8f4c /src
parenta47d14e2461db194377dd8bb81a0393868825575 (diff)
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?
Diffstat (limited to 'src')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_context.c3
1 files changed, 2 insertions, 1 deletions
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 bb0a754bf7..17becda7d5 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,
2192 yinvert = tex->im->native.yinvert; 2192 yinvert = tex->im->native.yinvert;
2193 } 2193 }
2194 2194
2195 if ((tex->im) && (tex->im->native.data) && (!yinvert)) 2195 if ((tex->im) && (!yinvert))
2196 { 2196 {
2197 // FIXME: What if yinvert is true? How to test that?
2197 switch (tex->im->orient) 2198 switch (tex->im->orient)
2198 { 2199 {
2199 case EVAS_IMAGE_ORIENT_NONE: 2200 case EVAS_IMAGE_ORIENT_NONE: