From f55729ed325b8f888ce17b778a1f063fc2a2e220 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 12 Apr 2019 18:47:42 +0200 Subject: Doxygen: describe better support for OpenGL on HighDPI displays. --- src/Fl_Gl_Window.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3