summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_polygon.c
diff options
context:
space:
mode:
authorSung Park <sungwoo@gmail.com>2012-12-07 10:02:26 +0000
committerSung Park <sungwoo@gmail.com>2012-12-07 10:02:26 +0000
commit931e4f9325098b259868ebfd18c08a0eabd73a66 (patch)
tree4b6c3fa760df32d736c122ae0b8ea0b7fe93342e /src/modules/evas/engines/gl_common/evas_gl_polygon.c
parent43c06ea3ba6d84060f26ec75cde8ca7e3dd0734d (diff)
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
Diffstat (limited to 'src/modules/evas/engines/gl_common/evas_gl_polygon.c')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_polygon.c1
1 files changed, 0 insertions, 1 deletions
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 81f041e..3265251 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
268 } 268 }
269 else 269 else
270 { 270 {
271 evas_common_draw_context_clip_clip(gc->dc, x, y, w, h);
272 /* our clip is 0 size.. abort */ 271 /* our clip is 0 size.. abort */
273 if ((gc->dc->clip.w > 0) && (gc->dc->clip.h > 0)) 272 if ((gc->dc->clip.w > 0) && (gc->dc->clip.h > 0))
274 { 273 {