From 3d9eeb2d44f23d5f8ff36e0f555b4f7bf050839f Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 10 Apr 2011 09:10:40 +0000 Subject: r. 8537 had by error introduced a compilation error with ppc architecture. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/gl_draw.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3