diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-29 15:24:33 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-29 15:24:33 +0000 |
| commit | 222243bc865df5f6531e6ec7d20c3b1b072d1ee6 (patch) | |
| tree | 77d171db9767483f808c3c06aa75a1de3ae4d64e /src/Fl_Gl_Device_Plugin.cxx | |
| parent | 72dda7f35a11ca0fedac1ba5047db6988fb16299 (diff) | |
Made OpenGL driver compile by itself instead of including files from another .cxx file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Device_Plugin.cxx')
| -rw-r--r-- | src/Fl_Gl_Device_Plugin.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Fl_Gl_Device_Plugin.cxx b/src/Fl_Gl_Device_Plugin.cxx index 16af6fbdb..50ee159b8 100644 --- a/src/Fl_Gl_Device_Plugin.cxx +++ b/src/Fl_Gl_Device_Plugin.cxx @@ -31,6 +31,9 @@ #endif + +// FIXME: remove the code below +#if 0 // ------ this should be in a separate file! ----------------------------------- #ifdef FL_CFG_GFX_OPENGL @@ -62,6 +65,10 @@ const char *Fl_OpenGL_Display_Device::class_id = "Fl_OpenGL_Display_Device"; #include "drivers/OpenGL/Fl_OpenGL_Graphics_Driver_rect.cxx" #include "drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx" +#endif + + + #if defined(__APPLE__) uchar *convert_BGRA_to_RGB(uchar *baseAddress, int w, int h, int mByteWidth) |
