summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-04-10 09:10:40 +0000
committerManolo Gouy <Manolo>2011-04-10 09:10:40 +0000
commit3d9eeb2d44f23d5f8ff36e0f555b4f7bf050839f (patch)
tree2a8a8d1558bd9d3f6ed6340ca4a8540992da5ee6 /src
parent7ce87f5102ba3108c12b56ea4f87e262903e8380 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/gl_draw.cxx4
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