Evas gl: Fix clip in image_draw if it's not set
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 18 Mar 2014 09:00:10 +0000 (18:00 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 18 Mar 2014 09:03:40 +0000 (18:03 +0900)
commit7cbe63631153429aef9e4426b346f54eb97eef13
tree4cc0dd7dc9e660681646bf30d0be2ddf0dc0befb
parent8672f3176ee2942467d069fb809e2579f5687681
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