mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-06 16:10:34 +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()
|
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
|
||||||
|
|
Loading…
Reference in a new issue