summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-16 13:51:06 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-16 15:50:15 +0100
commit35812f474b59f3b450005c405261eeab9d05d26a (patch)
tree339017f15a3fbac12903eae434e8cbf8abce47ef
parent98265d81a2c3fdfa76fa7d96fc9400f78113ddf7 (diff)
Include <config.h> in Fl_Gl_Window.cxx
-rw-r--r--src/Fl_Gl_Window.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index fb4376a2e..3f65d7785 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -14,8 +14,9 @@
// https://www.fltk.org/bugs.php
//
-#include "config_lib.h"
+#include <config.h>
#if HAVE_GL
+#define FL_CFG_GFX_OPENGL 1
extern int fl_gl_load_plugin;
@@ -344,7 +345,6 @@ void Fl_Gl_Window::init() {
*/
void Fl_Gl_Window::draw_overlay() {}
-#endif // HAVE_GL
/** Draws the Fl_Gl_Window.
You \e \b must subclass Fl_Gl_Window and provide an implementation for
@@ -510,3 +510,5 @@ Fl_Font_Descriptor** Fl_Gl_Window_Driver::fontnum_to_fontdescriptor(int fnum) {
\}
\endcond
*/
+
+#endif // HAVE_GL