mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-24 14:31:00 +00:00
Applied GL1TextOutputProvider.Clear() fix from 0.9.8 branch.
This commit is contained in:
parent
070a5b14dc
commit
65500986a2
|
@ -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