|
|
commit 9c0c04c50ddcdd24e306ccaa32ebfea09dc17bc3
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Fri Sep 23 08:46:26 2022 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Fri Sep 23 08:46:26 2022 +0200
Use adequate #include for fl_wl_display().
examples/OpenGL3-glut-test.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git examples/OpenGL3-glut-test.cxx examples/OpenGL3-glut-test.cxx
index 4a8994c..a5060fe 100644
--- examples/OpenGL3-glut-test.cxx
+++ examples/OpenGL3-glut-test.cxx
@@ -14,7 +14,7 @@
// https://www.fltk.org/bugs.php
//
-#include <FL/Fl.H> // includes <FL/fl_config.h>
+#include <FL/platform.H>
#if defined(__APPLE__)
# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED 1
# include <OpenGL/gl3.h> // defines OpenGL 3.0+ functions
[ Direct Link to Message ] | |
|
| |