summaryrefslogtreecommitdiff
path: root/src/Fl_Gl_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
-rw-r--r--src/Fl_Gl_Window.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index 2730787d2..ceca337ee 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -474,7 +474,8 @@ Fl_Gl_Window::~Fl_Gl_Window() {
// delete overlay; this is done by ~Fl_Group
#ifdef __APPLE__
// resets the pile of string textures used to draw strings
- gl_texture_pile_height(gl_texture_pile_height());
+ extern void gl_texture_reset();
+ gl_texture_reset();
#endif
}