From a58a2ed9fb724ec54053f4ca5b22d2b7db523ada Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 26 Mar 2011 14:37:28 +0000 Subject: Mac OS: Fixed bug where gl_draw() would fail after deletion of an Fl_GL_Window. The fix invalidates the pile of string textures after each Fl_Gl_Window deletion. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/gl_draw.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gl_draw.cxx') diff --git a/src/gl_draw.cxx b/src/gl_draw.cxx index a15a15123..da2acff4c 100644 --- a/src/gl_draw.cxx +++ b/src/gl_draw.cxx @@ -559,6 +559,10 @@ void gl_texture_pile_height(int max) /** @} */ +#elif defined(__APPLE__) +// used only if __ppc__ +int gl_texture_pile_height(void) {return 0;} +void gl_texture_pile_height(int max) {} #endif // GL_DRAW_USES_TEXTURES #endif // HAVE_GL -- cgit v1.2.3