From 3773872ece6940570567b59a06dc9a2089dfdd51 Mon Sep 17 00:00:00 2001 From: raster Date: Sat, 8 Oct 2011 04:58:57 +0000 Subject: [PATCH] Commit Neil's patch reported here: http://trac.enlightenment.org/e/ticket/880 git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@63920 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/engines/gl_common/evas_gl_context.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/engines/gl_common/evas_gl_context.c b/src/modules/engines/gl_common/evas_gl_context.c index 5bd3c44..2e76588 100644 --- a/src/modules/engines/gl_common/evas_gl_context.c +++ b/src/modules/engines/gl_common/evas_gl_context.c @@ -2126,18 +2126,18 @@ evas_gl_common_context_image_map_push(Evas_Engine_GL_Context *gc, } } - x = w = (p[points[0]].x >> FP); - y = h = (p[points[0]].y >> FP); + x = w = (p[0].x >> FP); + y = h = (p[0].y >> FP); for (i = 0; i < 4; i++) { tx[i] = ((double)(tex->x) + (((double)p[i].u) / FP1)) / (double)tex->pt->w; ty[i] = ((double)(tex->y) + (((double)p[i].v) / FP1)) / (double)tex->pt->h; - px = (p[points[i]].x >> FP); + px = (p[i].x >> FP); if (px < x) x = px; else if (px > w) w = px; - py = (p[points[i]].y >> FP); + py = (p[i].y >> FP); if (py < y) y = py; else if (py > h) h = py; if (utexture) -- 2.7.4