Applied GL1TextOutputProvider.Clear() fix from 0.9.8 branch.

This commit is contained in:
the_fiddler 2009-06-19 13:06:39 +00:00
parent ead6be817d
commit 66cc4fd12e

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