summaryrefslogtreecommitdiff
path: root/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2017-08-14 17:10:26 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2017-08-14 17:10:26 +0000
commitec951ce695d52cfa3be92535f88324f019266e20 (patch)
treea67aeb89427e04dc52954ad4cb2d0c075db293cd /src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx
parent4198caa780ed814113b66f97a46266ef72e8f455 (diff)
Remove unnecessary #include statements and compilation guards.
Currently src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx wouldn't contribute any code to the lib, but it is kept for future extensions. This file is no longer compiled (see src/CMakeLists.txt and src/Makefile). Tested (only) under Windows and Linux. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12381 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx')
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx
index 227b50de3..5544b136e 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx
@@ -3,7 +3,7 @@
//
// Rectangle drawing routines for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2016 by Bill Spitzak and others.
+// Copyright 1998-2017 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -16,14 +16,18 @@
// http://www.fltk.org/str.php
//
-#ifndef FL_CFG_GFX_OPENGL_CXX
-#define FL_CFG_GFX_OPENGL_CXX
+// Note:
+// This file doesn't contribute any code to the library.
+// It is kept as a placeholder for future usage.
+// This file is not compiled (as of Aug 2017)
+//
+// Fl_OpenGL_Graphics_Driver is implemented in several files
+// named Fl_OpenGL_Graphics_Driver_*.cxx.
+// This may be changed in the future.
#include <FL/gl.h>
#include "Fl_OpenGL_Graphics_Driver.H"
-#endif // FL_CFG_GFX_OPENGL_RECT_CXX
-
//
// End of "$Id$".
//