summaryrefslogtreecommitdiff
path: root/documentation/src/osissues.dox
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-12 18:47:42 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-12 18:47:42 +0200
commitf55729ed325b8f888ce17b778a1f063fc2a2e220 (patch)
tree6deb69a7b60b29fe7e4e46dde3f766675fa09038 /documentation/src/osissues.dox
parent4abaeba539fea5aaa73c4a298393f847623eec75 (diff)
Doxygen: describe better support for OpenGL on HighDPI displays.
Diffstat (limited to 'documentation/src/osissues.dox')
-rw-r--r--documentation/src/osissues.dox3
1 files changed, 2 insertions, 1 deletions
diff --git a/documentation/src/osissues.dox b/documentation/src/osissues.dox
index 790899765..86b05b9c0 100644
--- a/documentation/src/osissues.dox
+++ b/documentation/src/osissues.dox
@@ -857,7 +857,8 @@ the GL scene in pixels: if the Fl_Gl_Window is mapped on a retina display, these
reported by Fl_Widget::w() and Fl_Widget::h(); if it's mapped on a regular display, they return the same values
as w() and h(). These methods dynamically change their values if the window is moved into/out from a retina
display. If Fl::use_high_res_GL(1) is not called, all Fl_Gl_Window 's are drawn at low resolution.
-These methods are synonyms of w() and h() on non-Mac OS X platforms, so the source code remains cross-platform.
+These methods are useful on all platforms because Fl_Gl_Window::w() and Fl_Gl_Window::h() don't return,
+on HighDPI displays, the quantitites in pixels necessary to OpenGL functions .
The Fl_Gl_Window::pixels_per_unit() method is useful when the OpenGL code depends on the pixel dimension
of the GL scene. This occurs, e.g., if a window's handle() method uses Fl::event_x() and Fl::event_y()