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?
This commit is contained in:
Jean-Philippe Andre 2015-10-15 20:09:11 +09:00
parent a47d14e246
commit c927f6e4ea
1 changed files with 2 additions and 1 deletions

View File

@ -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: