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 070a5b14dc
commit 65500986a2

View file

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