summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-05-08 17:08:15 +0000
committerManolo Gouy <Manolo>2016-05-08 17:08:15 +0000
commit7d9fdcec25db993d1240c9f956cc0eeada8ee9f5 (patch)
tree3e06414c84ce3d925d9d8c02a8b75f8706720cbf /src
parentf129964dc87dcf78c34fec4558a57df679a3ff0e (diff)
Remove Doxygen warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/gl_draw.cxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/gl_draw.cxx b/src/gl_draw.cxx
index fe0d1f5a5..3b90dca34 100644
--- a/src/gl_draw.cxx
+++ b/src/gl_draw.cxx
@@ -350,6 +350,9 @@ void gl_draw_image(const uchar* b, int x, int y, int w, int h, int d, int ld) {
#if defined(FL_CFG_GFX_QUARTZ) || defined(FL_DOXYGEN)
+
+#if ! defined(FL_DOXYGEN)
+
#include <FL/x.H>
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
# include <OpenGL/glext.h>
@@ -572,6 +575,13 @@ void Fl_Cocoa_Gl_Window_Driver::draw_string(const char* str, int n)
gl_fifo->display_texture(rank);
}
+void gl_texture_reset()
+{
+ if (gl_fifo) gl_texture_pile_height(gl_texture_pile_height());
+}
+
+#endif //! defined(FL_DOXYGEN)
+
/** \addtogroup group_macosx
@{ */
@@ -601,10 +611,6 @@ void gl_texture_pile_height(int max)
/** @} */
-void gl_texture_reset()
-{
- if (gl_fifo) gl_texture_pile_height(gl_texture_pile_height());
-}
#endif // FL_CFG_GFX_QUARTZ
#endif // HAVE_GL