make fonts obey the same cutout rules as images.

SVN revision: 63478
This commit is contained in:
Carsten Haitzler 2011-09-19 10:48:33 +00:00
parent 9522d5b359
commit 823fa1b566
1 changed files with 3 additions and 3 deletions

View File

@ -119,9 +119,9 @@ evas_gl_font_texture_draw(void *context, void *surface __UNUSED__, void *draw_co
g = (dc->col.col >> 8 ) & 0xff;
b = (dc->col.col ) & 0xff;
sx = 0; sy = 0; sw = tex->w, sh = tex->h;
if ((!gc->dc->cutout.rects)
// || (gc->dc->cutout.active > 32)
)
if ((!gc->dc->cutout.rects) ||
((gc->shared->info.tune.cutout.max > 0) &&
(gc->dc->cutout.active > gc->shared->info.tune.cutout.max)))
{
if (gc->dc->clip.use)
{