FLTK logo

[master] 35812f4 - Include <config.h> in Fl_Gl_Window.cxx

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 35812f4 - Include <config.h> in Fl_Gl_Window.cxx "ManoloFLTK" Feb 16, 2021  
 
commit 35812f474b59f3b450005c405261eeab9d05d26a
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Tue Feb 16 13:51:06 2021 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Tue Feb 16 15:50:15 2021 +0100

    Include <config.h> in Fl_Gl_Window.cxx

 src/Fl_Gl_Window.cxx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git src/Fl_Gl_Window.cxx src/Fl_Gl_Window.cxx
index fb4376a..3f65d77 100644
--- src/Fl_Gl_Window.cxx
+++ 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
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.