FLTK logo

[master] 0fdef88 - Documentation: add Wayland-related information for use of OpenGL 3.

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] 0fdef88 - Documentation: add Wayland-related information for use of OpenGL 3. "ManoloFLTK" Jul 04, 2022  
 
commit 0fdef887d0ad8ad0aa597f8a67079cb670ca18c1
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Mon Jul 4 14:44:23 2022 +0200
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Mon Jul 4 14:44:23 2022 +0200

    Documentation: add Wayland-related information for use of OpenGL 3.

 FL/Fl_Gl_Window.H            | 2 +-
 documentation/src/opengl.dox | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git FL/Fl_Gl_Window.H FL/Fl_Gl_Window.H
index 7d99f1a..ec9179b 100644
--- FL/Fl_Gl_Window.H
+++ FL/Fl_Gl_Window.H
@@ -169,7 +169,7 @@ public:
    changes the current context.
 
    The FL_OPENGL3 flag is required to access OpenGL version 3 or more
-   under the X11 and MacOS platforms; it's optional under Windows.
+   under the X11 and MacOS platforms; it's optional under Windows and Wayland.
    See more details in \ref opengl3.
 
    \version the <tt>FL_OPENGL3</tt> flag appeared in version 1.3.4
diff --git documentation/src/opengl.dox documentation/src/opengl.dox
index c80d4fd..f826323 100644
--- documentation/src/opengl.dox
+++ documentation/src/opengl.dox
@@ -550,7 +550,7 @@ and OpenGL 3.
 To access OpenGL 3.0 (or higher versions), use the <tt>FL_OPENGL3</tt> flag
 when calling Fl_Gl_Window::mode(int a) or glutInitDisplayMode().
 
-<b>On the Windows and Unix/Linux platforms</b>, FLTK creates contexts
+<b>On the Windows, X11, and Wayland platforms</b>, FLTK creates contexts
 implementing the highest OpenGL version supported by the hardware.
 Such contexts may also be compatible with lower OpenGL versions.
 Access to functions from OpenGL
@@ -563,7 +563,7 @@ GLEW is possible but not necessary. FLTK creates contexts for OpenGL
 versions 1 and 2 without the FL_OPENGL3
 flag and for OpenGL versions 3.2 and above with it.
 
-\par GLEW installation (Unix/Linux and Windows platforms)
+\par GLEW installation (X11, Wayland, and Windows platforms)
 GLEW is available as a package for most Linux distributions and in source
 form at http://glew.sourceforge.net/.
 For the Windows platform, a Visual Studio static library (glew32.lib) can
@@ -636,7 +636,7 @@ Testing whether the glewInit() call is successful is to be done as follows:
 
 
 \par Changes in the build process
-Link with libGLEW.so (on Unix/Linux), libglew32.a (with MinGW) or glew32.lib
+Link with libGLEW.so (with X11 or Wayland), libglew32.a (with MinGW) or glew32.lib
 (with MS Visual Studio); no change is needed on the Mac OS platform.
 
 \htmlonly
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'.