diff options
| author | Manolo Gouy <Manolo> | 2011-03-26 21:56:24 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-03-26 21:56:24 +0000 |
| commit | 8d7c246676447063657ea74c8ec81cfb68503b6a (patch) | |
| tree | c85b72370ced0bdd33fa628b5589e4a426de9000 /src/Fl_Gl_Window.cxx | |
| parent | a58a2ed9fb724ec54053f4ca5b22d2b7db523ada (diff) | |
Mac OS: added gl_texture_reset() function to be called when deleting an Fl_Gl_Window
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8537 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 3 |
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 } |
