jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7cbe63631153429aef9e4426b346f54eb97eef13

commit 7cbe63631153429aef9e4426b346f54eb97eef13
Author: Jean-Philippe Andre <[email protected]>
Date:   Tue Mar 18 18:00:10 2014 +0900

    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 fc70d71..daa9752 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);
           }

-- 


Reply via email to