mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-24 22:16:47 +00:00
Applied GL1TextOutputProvider.Clear() fix from 0.9.8 branch.
This commit is contained in:
parent
ead6be817d
commit
66cc4fd12e
|
@ -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