Applied GL1TextOutputProvider.Clear() fix from 0.9.8 branch.
This commit is contained in:
parent
ead6be817d
commit
66cc4fd12e
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue