From 7d9fdcec25db993d1240c9f956cc0eeada8ee9f5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 8 May 2016 17:08:15 +0000 Subject: Remove Doxygen warning. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/gl_draw.cxx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src') 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 #if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4 # include @@ -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 -- cgit v1.2.3