diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-07-25 13:03:40 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-07-25 13:03:40 +0200 |
commit | 50c263770367d322992b615930508b0996f83ef4 (patch) | |
tree | fc1ee92366f559fee8c40c40fb29cfd614c25ddd | |
parent | 8953eeb0508f557d3ca730b0033ceada1792522e (diff) | |
parent | 5f98e510e4379e1700dcf79fea288caf7ba005ac (diff) | |
download | glutin-50c263770367d322992b615930508b0996f83ef4.tar.gz glutin-50c263770367d322992b615930508b0996f83ef4.zip |
Merge pull request #541 from bvssvni/fix-docs
Fixed docs for `get_inner_size`
-rw-r--r-- | src/window.rs | 5 |
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] |