From 1113cc0ae6de2eb2b9e53c2ce80e9f07e4379e8d Mon Sep 17 00:00:00 2001 From: Joogab Yun Date: Wed, 27 Apr 2016 15:24:21 +0900 Subject: [PATCH] [evas] change rotation angle(90 and 270) because tbm is yinvert Change-Id: I95481dc1419ad5de4c6609de34e4805df791dc88 --- src/modules/evas/engines/gl_common/evas_gl_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 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 507a517..349a762 100755 --- a/src/modules/evas/engines/gl_common/evas_gl_context.c +++ b/src/modules/evas/engines/gl_common/evas_gl_context.c @@ -2240,13 +2240,13 @@ evas_gl_common_context_image_push(Evas_Engine_GL_Context *gc, case EVAS_IMAGE_ORIENT_NONE: break; case EVAS_IMAGE_ORIENT_90: - _rotate_90(&ox1, &oy1, &ox2, &oy2, &ox3, &oy3, &ox4, &oy4); + _rotate_270(&ox1, &oy1, &ox2, &oy2, &ox3, &oy3, &ox4, &oy4); break; case EVAS_IMAGE_ORIENT_180: _rotate_180(&ox1, &oy1, &ox2, &oy2, &ox3, &oy3, &ox4, &oy4); break; case EVAS_IMAGE_ORIENT_270: - _rotate_270(&ox1, &oy1, &ox2, &oy2, &ox3, &oy3, &ox4, &oy4); + _rotate_90(&ox1, &oy1, &ox2, &oy2, &ox3, &oy3, &ox4, &oy4); break; default: ERR("Wrong native rotation orientation ! %i", tex->im->native.rot); -- 2.7.4