forked from enlightenment/efl
evas gl - rect draws didnt obey cutout max like font and img - fix
this fixes cutout handling consistency for gl common
This commit is contained in:
parent
0cd59bb199
commit
c3a866837c
|
@ -46,7 +46,9 @@ evas_gl_common_rect_draw(Evas_Engine_GL_Context *gc, int x, int y, int w, int h)
|
|||
else mtex = NULL;
|
||||
}
|
||||
|
||||
if (!gc->dc->cutout.rects)
|
||||
if ((!gc->dc->cutout.rects) ||
|
||||
((gc->shared->info.tune.cutout.max > 0) &&
|
||||
(gc->dc->cutout.active > gc->shared->info.tune.cutout.max)))
|
||||
{
|
||||
evas_gl_common_context_rectangle_push(gc, x, y, w, h, cr, cg, cb, ca, mtex, mx, my, mw, mh, mask_smooth);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue