2008-02-07 Matthew Allum <mallum@openedhand.com>
* clutter/pango/pangoclutter-render.c: Warn if requested glyph is too big for underlying texture cache. (see #666)
This commit is contained in:
parent
3185947520
commit
b1615f01a4
2 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-02-07 Matthew Allum <mallum@openedhand.com>
|
||||
|
||||
* clutter/pango/pangoclutter-render.c:
|
||||
Warn if requested glyph is too big for underlying texture cache.
|
||||
(see #666)
|
||||
|
||||
2008-02-07 Matthew Allum <mallum@openedhand.com>
|
||||
|
||||
* clutter/clutter-texture.c: (texture_upload_data):
|
||||
|
|
|
@ -78,8 +78,6 @@ tc_clear ()
|
|||
first_texture = next;
|
||||
}
|
||||
|
||||
printf("freeing textures\n");
|
||||
|
||||
++tc_generation;
|
||||
}
|
||||
|
||||
|
@ -358,6 +356,12 @@ draw_glyph (PangoRenderer *renderer_,
|
|||
return;
|
||||
}
|
||||
|
||||
if (bm.height > TC_HEIGHT)
|
||||
{
|
||||
g_warning ("%s: Glyph too large for cache, increase TC_HEIGHT",
|
||||
G_STRLOC);
|
||||
}
|
||||
|
||||
if (g)
|
||||
g->generation = tc_generation;
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue