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_Choice.H | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_Gl_Choice.H') diff --git a/src/Fl_Gl_Choice.H b/src/Fl_Gl_Choice.H index 69d388607..a9de81b1f 100644 --- a/src/Fl_Gl_Choice.H +++ b/src/Fl_Gl_Choice.H @@ -45,7 +45,7 @@ #ifndef Fl_Gl_Choice_H #define Fl_Gl_Choice_H -#if defined(WIN32) || defined(__APPLE__) +#if defined(WIN32) || defined(__APPLE__) // PORTME: platform OpenGL management #elif defined(FL_PORTING) # pragma message "FL_PORTING: add code to list and select OpenGL drawing contexts" #else @@ -56,7 +56,7 @@ #ifdef WIN32 # include # define GLContext HGLRC -#elif defined(__APPLE_QUARTZ__) +#elif defined(__APPLE_QUARTZ__) // PORTME: platform OpenGL management # include #ifdef __OBJC__ @class NSOpenGLPixelFormat; @@ -81,7 +81,7 @@ public: #ifdef WIN32 int pixelformat; // the visual to use PIXELFORMATDESCRIPTOR pfd; // some wgl calls need this thing -#elif defined(__APPLE_QUARTZ__) +#elif defined(__APPLE_QUARTZ__) // PORTME: platform OpenGL management NSOpenGLPixelFormat* pixelformat; #elif defined(FL_PORTING) # pragma message "FL_PORTING: define OpenGL pixel format containers" @@ -101,7 +101,7 @@ class Fl_Window; GLContext fl_create_gl_context(Fl_Window*, const Fl_Gl_Choice*, int layer=0); -#elif defined(__APPLE_QUARTZ__) +#elif defined(__APPLE_QUARTZ__) // PORTME: platform OpenGL management GLContext fl_create_gl_context(Fl_Window*, const Fl_Gl_Choice*, int layer=0); -- cgit v1.2.3