[master] 9c0c04c - Use adequate #include for fl_wl_display().

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] 9c0c04c - Use adequate #include for fl_wl_display(). "ManoloFLTK" 23:47 Sep 22 top right image
 
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 ]
 
bottom left image   bottom right image
Previous Message ]Next Message ]
 
 

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