summaryrefslogtreecommitdiff
path: root/documentation/src/opengl.dox
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-06-30 17:01:23 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-06-30 17:01:23 +0200
commit4d85b154175f83e2af5c1adf90e7768ed319a82f (patch)
treec74cd6530080744712410a5504431a8951ef5f33 /documentation/src/opengl.dox
parent65e5cd27cc80e63252cf78fefddb5b37c5c7619c (diff)
Documentation: update "Using OpenGL in Normal FLTK Windows" for Wayland.
Diffstat (limited to 'documentation/src/opengl.dox')
-rw-r--r--documentation/src/opengl.dox5
1 files changed, 3 insertions, 2 deletions
diff --git a/documentation/src/opengl.dox b/documentation/src/opengl.dox
index c80d4fd85..566ce4d4a 100644
--- a/documentation/src/opengl.dox
+++ b/documentation/src/opengl.dox
@@ -200,8 +200,9 @@ and OpenGL under macOS (see \ref osissues_retina)
\section opengl_normal Using OpenGL in Normal FLTK Windows
\note Drawing both with OpenGL and Quartz in a normal FLTK window is not possible
-with the macOS platform. This technique is therefore not useful under macOS because
-it permits nothing more than what is possible with class Fl_Gl_Window.
+with the macOS platform. Similarly, the Wayland platform doesn't allow to draw with
+both Cairo and OpenGL to the same window. This technique is therefore not useful under
+macOS or Wayland because it permits nothing more than what is possible with class Fl_Gl_Window.
You can put OpenGL code into the \p draw() method, as described in
\ref subclassing_drawing