diff options
| -rw-r--r-- | src/gl_draw.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gl_draw.cxx b/src/gl_draw.cxx index 4b86f0346..5639fd87c 100644 --- a/src/gl_draw.cxx +++ b/src/gl_draw.cxx @@ -567,9 +567,11 @@ void gl_texture_pile_height(int max) {} #if defined(__APPLE__) void gl_texture_reset() { +#if GL_DRAW_USES_TEXTURES if (gl_fifo) gl_texture_pile_height(gl_texture_pile_height()); +#endif // GL_DRAW_USES_TEXTURES } -#endif +#endif // __APPLE__ #endif // HAVE_GL |
