From 7cbe63631153429aef9e4426b346f54eb97eef13 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 18 Mar 2014 18:00:10 +0900 Subject: [PATCH] Evas gl: Fix clip in image_draw if it's not set In evas_gl_common_image_draw, if an image is drawn with a fresh context, containing no clip and no cutouts, then it will be wrongly clipped to the source image size instead of the destination surface size. This case seems to never happen, ever, since the contexts are always fully set by the render functions. @fix --- src/modules/evas/engines/gl_common/evas_gl_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/evas/engines/gl_common/evas_gl_image.c b/src/modules/evas/engines/gl_common/evas_gl_image.c index fc70d71283..daa975255c 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_image.c +++ b/src/modules/evas/engines/gl_common/evas_gl_image.c @@ -987,7 +987,7 @@ evas_gl_common_image_draw(Evas_Engine_GL_Context *gc, Evas_GL_Image *im, int sx, evas_gl_common_image_push(gc, im, dx, dy, dw, dh, sx, sy, sw, sh, - sx, sy, sw, sh, + dx, dy, dw, dh, r, g, b, a, smooth, yuv, yuy2, nv12); } -- 2.34.1