Documentation: update "Using OpenGL in Normal FLTK Windows" for Wayland.

This commit is contained in:
ManoloFLTK
2022-06-30 17:01:23 +02:00
parent 65e5cd27cc
commit 4d85b15417
+3 -2
View File
@@ -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