diff --git a/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs b/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs index 58d72a24..fd7c9d8c 100644 --- a/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs +++ b/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs @@ -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