|
|
commit 4d85b154175f83e2af5c1adf90e7768ed319a82f
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Thu Jun 30 17:01:23 2022 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Thu Jun 30 17:01:23 2022 +0200
Documentation: update "Using OpenGL in Normal FLTK Windows" for Wayland.
documentation/src/opengl.dox | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git documentation/src/opengl.dox documentation/src/opengl.dox
index c80d4fd..566ce4d 100644
--- documentation/src/opengl.dox
+++ 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
[ Direct Link to Message ] | |
|
| |