From 4d85b154175f83e2af5c1adf90e7768ed319a82f Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 30 Jun 2022 17:01:23 +0200 Subject: Documentation: update "Using OpenGL in Normal FLTK Windows" for Wayland. --- documentation/src/opengl.dox | 5 +++-- 1 file 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 -- cgit v1.2.3