Wayland platform.: complete support of gl_start/gl_finish.

This commit is contained in:
ManoloFLTK
2022-07-04 11:44:03 +02:00
parent 8a2559e1af
commit 844d3d6d5c
5 changed files with 66 additions and 17 deletions
+2 -3
View File
@@ -200,9 +200,8 @@ 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. 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.
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.
You can put OpenGL code into the \p draw() method, as described in
\ref subclassing_drawing