mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 15:41:02 +00:00
GL1TextOutputProvider.Clear() should clear the display list cache.
This commit is contained in:
parent
29262a075d
commit
089108c431
|
@ -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