summaryrefslogtreecommitdiff
path: root/src/gl_draw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl_draw.cxx')
-rw-r--r--src/gl_draw.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gl_draw.cxx b/src/gl_draw.cxx
index da2acff4c..4b86f0346 100644
--- a/src/gl_draw.cxx
+++ b/src/gl_draw.cxx
@@ -564,6 +564,12 @@ void gl_texture_pile_height(int max)
int gl_texture_pile_height(void) {return 0;}
void gl_texture_pile_height(int max) {}
#endif // GL_DRAW_USES_TEXTURES
+#if defined(__APPLE__)
+void gl_texture_reset()
+{
+ if (gl_fifo) gl_texture_pile_height(gl_texture_pile_height());
+}
+#endif
#endif // HAVE_GL