Fixed docs for get_inner_size

Closes https://github.com/tomaka/glutin/issues/388
This commit is contained in:
Sven Nilsen 2015-07-25 12:01:20 +02:00
parent 8953eeb050
commit 5f98e510e4

View file

@ -294,11 +294,10 @@ impl Window {
self.window.set_position(x, y) 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. /// 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 /// To get the dimensions of the frame buffer when calling `glViewport`, multiply with hidpi factor.
/// when you call `glViewport`.
/// ///
/// Returns `None` if the window no longer exists. /// Returns `None` if the window no longer exists.
#[inline] #[inline]