From 0fdef887d0ad8ad0aa597f8a67079cb670ca18c1 Mon Sep 17 00:00:00 2001
From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
Date: Mon, 4 Jul 2022 14:44:23 +0200
Subject: Documentation: add Wayland-related information for use of OpenGL 3.
---
documentation/src/opengl.dox | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'documentation/src')
diff --git a/documentation/src/opengl.dox b/documentation/src/opengl.dox
index c80d4fd85..f826323df 100644
--- a/documentation/src/opengl.dox
+++ b/documentation/src/opengl.dox
@@ -550,7 +550,7 @@ and OpenGL 3.
To access OpenGL 3.0 (or higher versions), use the FL_OPENGL3 flag
when calling Fl_Gl_Window::mode(int a) or glutInitDisplayMode().
-On the Windows and Unix/Linux platforms, FLTK creates contexts
+On the Windows, X11, and Wayland platforms, 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
--
cgit v1.2.3