mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 22:51:41 +08:00
Documentation: update "Using OpenGL in Normal FLTK Windows" for Wayland.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user