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
This commit is contained in:
Sung Park 2012-12-07 10:02:26 +00:00
parent 43c06ea3ba
commit 931e4f9325
3 changed files with 2 additions and 1 deletions

View File

@ -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)

1
NEWS
View File

@ -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.

View 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))
{