forked from enlightenment/efl
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:
parent
43c06ea3ba
commit
931e4f9325
|
@ -3,6 +3,7 @@
|
||||||
* Added EVAS_GL_LINE_NO_OFFSET_HACK to turn off the line coordinate
|
* 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 that was originally in the gl backend code. The offset
|
||||||
fiddling caused issues with some ARM target GPU drivers.
|
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)
|
2012-12-05 Gustavo Sverzut Barbieri (k-s)
|
||||||
|
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -69,3 +69,4 @@ Fixes:
|
||||||
* Fixed textblock textprop leak.
|
* Fixed textblock textprop leak.
|
||||||
* Fixed evas_object_box to reset size_hint_min to zero when no child.
|
* Fixed evas_object_box to reset size_hint_min to zero when no child.
|
||||||
* Fix build of Ecore_Evas_Extn on Solaris.
|
* Fix build of Ecore_Evas_Extn on Solaris.
|
||||||
|
* Fixed polygon rendering bug in GL backend when there are cutouts.
|
||||||
|
|
|
@ -268,7 +268,6 @@ evas_gl_common_poly_draw(Evas_Engine_GL_Context *gc, Evas_GL_Polygon *poly, int
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
evas_common_draw_context_clip_clip(gc->dc, x, y, w, h);
|
|
||||||
/* our clip is 0 size.. abort */
|
/* our clip is 0 size.. abort */
|
||||||
if ((gc->dc->clip.w > 0) && (gc->dc->clip.h > 0))
|
if ((gc->dc->clip.w > 0) && (gc->dc->clip.h > 0))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue