aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/window.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/window.rs b/src/window.rs
index 8757efc..ac52ed7 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -294,11 +294,10 @@ impl Window {
self.window.set_position(x, y)
}
- /// Returns the size in pixels of the client area of the window.
+ /// Returns the size in points of the client area of the window.
///
/// The client area is the content of the window, excluding the title bar and borders.
- /// These are the dimensions of the frame buffer, and the dimensions that you should use
- /// when you call `glViewport`.
+ /// To get the dimensions of the frame buffer when calling `glViewport`, multiply with hidpi factor.
///
/// Returns `None` if the window no longer exists.
#[inline]