GL1TextOutputProvider.Clear() should clear the display list cache.

This commit is contained in:
the_fiddler 2009-06-19 13:01:14 +00:00
parent 29262a075d
commit 089108c431

View file

@ -205,6 +205,9 @@ namespace OpenTK.Graphics.Text
public void Clear()
{
Cache.Clear();
foreach (int display_list in block_cache.Keys)
GL.DeleteLists(display_list, 1);
block_cache.Clear();
}
#endregion