From 50ee3bcd66c4baa6bb3388f5b955d726bfc6bdd8 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 11 Feb 2016 12:02:36 +0000 Subject: Mark places that need to be refactored with // PORTME: Searching for __APPLE, WIN32 or X11 did give me many false results. I instead marked most ifdef's that I would like to get rid of with the text // PORTME:, so they can be easily found by a global search. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Gl_Overlay.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Gl_Overlay.cxx') diff --git a/src/Fl_Gl_Overlay.cxx b/src/Fl_Gl_Overlay.cxx index 204a0796e..d7b5e251d 100644 --- a/src/Fl_Gl_Overlay.cxx +++ b/src/Fl_Gl_Overlay.cxx @@ -25,7 +25,7 @@ #include #include -#if defined(WIN32) || defined(__APPLE__) +#if defined(WIN32) || defined(__APPLE__) // PORTME: platform OpenGL management #elif defined(FL_PORTING) # pragma message "FL_PORTING: implement OpenGL hardware overlays if they are availbale in a compatible way. This is rarely needed." #else @@ -193,7 +193,7 @@ int Fl_Gl_Window::can_do_overlay() { void Fl_Gl_Window::redraw_overlay() { if (!shown()) return; make_overlay(); -#ifdef __APPLE__ +#ifdef __APPLE__ // PORTME: platform OpenGL management redraw(); #else #ifndef WIN32 @@ -207,7 +207,7 @@ void Fl_Gl_Window::redraw_overlay() { void Fl_Gl_Window::make_overlay_current() { make_overlay(); -#ifdef __APPLE__ +#ifdef __APPLE__ // PORTME: platform OpenGL management // this is not very useful, but unfortunately, Apple decided // that front buffer drawing can no longer (OS X 10.4) be // supported on their platforms. -- cgit v1.2.3