summaryrefslogtreecommitdiff
path: root/src
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 /src
parent4abaeba539fea5aaa73c4a298393f847623eec75 (diff)
Doxygen: describe better support for OpenGL on HighDPI displays.
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Gl_Window.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index 9bb09c0cd..be0c95a5a 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -439,10 +439,8 @@ int Fl_Gl_Window::gl_plugin_linkage() {
}
/** The number of pixels per FLTK unit of length for the window.
- Returns 1, except for a window mapped to
- an Apple 'retina' display, and if Fl::use_high_res_GL(bool) is set to true,
- when it returns 2. This method dynamically adjusts its value when the window
- is moved to/from a retina display. This method is useful, e.g., to convert,
+ This method dynamically adjusts its value when the GUI is rescaled or when the window
+ is moved to/from displays of distinct resolutions. This method is useful, e.g., to convert,
in a window's handle() method, the FLTK units returned by Fl::event_x() and
Fl::event_y() to the pixel units used by the OpenGL source code.
\version 1.3.4