summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-06-23 17:04:18 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-06-23 17:04:18 +0000
commitb1598dc70362f331da7a65f1e5ddece7c88299f3 (patch)
treeb86ceda8b546d19b0bb1d4cfc7b8babdd53c3f3c /src/drivers
parenta9fd08ff5ab8bbf3838200ceace671a72627d212 (diff)
Removed macro FL_PORTING, as it has been more confusing than helpful.
The original intention of FL_PORTING was to mark all places in the source code where changes are required to port FLTK to a new platform. Thanks to the driver system, this approach has become somewhat misleading, so I removed all references. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx4
-rw-r--r--src/drivers/Pico/Fl_Pico_Graphics_Driver.H1
2 files changed, 0 insertions, 5 deletions
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx
index 781e3be6e..fa9414ca3 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx
@@ -93,10 +93,6 @@ Fl_RGB_Image* Fl_OpenGL_Display_Device::capture_gl_rectangle(Fl_Gl_Window* glw,
#else
-#if defined(FL_PORTING)
-# pragma message "FL_PORTING: check whether the default Fl_OpenGL_Display_Device::capture_gl_rectangle() works for your platform"
-#endif
-
#include <FL/Fl_Screen_Driver.H>
#include <FL/Fl_Window_Driver.H>
Fl_RGB_Image* Fl_OpenGL_Display_Device::capture_gl_rectangle(Fl_Gl_Window *glw, int x, int y, int w, int h)
diff --git a/src/drivers/Pico/Fl_Pico_Graphics_Driver.H b/src/drivers/Pico/Fl_Pico_Graphics_Driver.H
index e19d1fe13..c8eb0e678 100644
--- a/src/drivers/Pico/Fl_Pico_Graphics_Driver.H
+++ b/src/drivers/Pico/Fl_Pico_Graphics_Driver.H
@@ -81,7 +81,6 @@ class Fl_Pico_Graphics_Driver : public Fl_Graphics_Driver {
//#endif
// matrix *fl_matrix; /**< Points to the current coordinate transformation matrix */
//
-// // === all code below in this class has been to the reorganisation FL_PORTING process
//public:
// Fl_Graphics_Driver();
// virtual ~Fl_Graphics_Driver() { if (p) free(p); }