From feab968e26c0ad014a7b2d7a55653e8dd2dd9f84 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 31 Aug 2015 16:43:41 +0000 Subject: Improved use of the gl_texture_reset() function: it is necessary only if all GL windows have been deleted. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Gl_Window.cxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/Fl_Gl_Window.cxx') diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 66c718171..ad83c6c13 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -20,9 +20,6 @@ #if HAVE_GL extern int fl_gl_load_plugin; -#ifdef __APPLE__ -extern void gl_texture_reset(); -#endif #include #include @@ -189,11 +186,6 @@ void Fl_Gl_Window::make_current() { context_ = fl_create_gl_context(this, g); valid(0); context_valid(0); -#ifdef __APPLE__ - // resets the pile of string textures used to draw strings - // necessary when the context is renewed - gl_texture_reset(); -#endif } fl_set_gl_context(this, context_); -- cgit v1.2.3