Include <config.h> in Fl_Gl_Window.cxx

This commit is contained in:
ManoloFLTK 2021-02-16 13:51:06 +01:00
parent 98265d81a2
commit 35812f474b
1 changed files with 4 additions and 2 deletions

View File

@ -14,8 +14,9 @@
// https://www.fltk.org/bugs.php // https://www.fltk.org/bugs.php
// //
#include "config_lib.h" #include <config.h>
#if HAVE_GL #if HAVE_GL
#define FL_CFG_GFX_OPENGL 1
extern int fl_gl_load_plugin; extern int fl_gl_load_plugin;
@ -344,7 +345,6 @@ void Fl_Gl_Window::init() {
*/ */
void Fl_Gl_Window::draw_overlay() {} void Fl_Gl_Window::draw_overlay() {}
#endif // HAVE_GL
/** Draws the Fl_Gl_Window. /** Draws the Fl_Gl_Window.
You \e \b must subclass Fl_Gl_Window and provide an implementation for 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 \endcond
*/ */
#endif // HAVE_GL