Merge pull request #541 from bvssvni/fix-docs

Fixed docs for `get_inner_size`
This commit is contained in:
tomaka 2015-07-25 13:03:40 +02:00
commit 50c2637703

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]