Fixed polygon rendering bug in GL backend when there are cutouts.
authorSung Park <sungwoo@gmail.com>
Fri, 7 Dec 2012 10:02:26 +0000 (10:02 +0000)
committerSung Park <sungwoo@gmail.com>
Fri, 7 Dec 2012 10:02:26 +0000 (10:02 +0000)
It was clipping everything to (0,0,0,0) so it was all clipped out.

SVN revision: 80427

ChangeLog
NEWS
src/modules/evas/engines/gl_common/evas_gl_polygon.c

index 814f1e2..2a2a73b 100644 (file)
--- 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 676b7fa..e00d027 100644 (file)
--- 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.
index 81f041e..3265251 100644 (file)
@@ -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))
                {