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

This commit is contained in:
ManoloFLTK 2022-07-04 14:44:23 +02:00
parent 844d3d6d5c
commit 0fdef887d0
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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