From 931e4f9325098b259868ebfd18c08a0eabd73a66 Mon Sep 17 00:00:00 2001 From: Sung Park Date: Fri, 7 Dec 2012 10:02:26 +0000 Subject: [PATCH] Fixed polygon rendering bug in GL backend when there are cutouts. It was clipping everything to (0,0,0,0) so it was all clipped out. SVN revision: 80427 --- ChangeLog | 1 + NEWS | 1 + src/modules/evas/engines/gl_common/evas_gl_polygon.c | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 814f1e2c30..2a2a73b69a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * Added EVAS_GL_LINE_NO_OFFSET_HACK to turn off the line coordinate fiddling that was originally in the gl backend code. The offset fiddling caused issues with some ARM target GPU drivers. + * Fixed polygon rendering bug in GL backend when there are cutouts. 2012-12-05 Gustavo Sverzut Barbieri (k-s) diff --git a/NEWS b/NEWS index 676b7fa50c..e00d027f44 100644 --- a/NEWS +++ b/NEWS @@ -69,3 +69,4 @@ Fixes: * Fixed textblock textprop leak. * Fixed evas_object_box to reset size_hint_min to zero when no child. * Fix build of Ecore_Evas_Extn on Solaris. + * Fixed polygon rendering bug in GL backend when there are cutouts. diff --git a/src/modules/evas/engines/gl_common/evas_gl_polygon.c b/src/modules/evas/engines/gl_common/evas_gl_polygon.c index 81f041e4eb..3265251108 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_polygon.c +++ b/src/modules/evas/engines/gl_common/evas_gl_polygon.c @@ -268,7 +268,6 @@ evas_gl_common_poly_draw(Evas_Engine_GL_Context *gc, Evas_GL_Polygon *poly, int } else { - evas_common_draw_context_clip_clip(gc->dc, x, y, w, h); /* our clip is 0 size.. abort */ if ((gc->dc->clip.w > 0) && (gc->dc->clip.h > 0)) {