Browse Source

Platform: this actually asserts now.

pull/280/head
Vladimír Vondruš 8 years ago
parent
commit
439b40f762
  1. 11
      src/Magnum/Platform/Sdl2Application.h

11
src/Magnum/Platform/Sdl2Application.h

@ -579,9 +579,8 @@ class Sdl2Application {
* *
* Window size to which all input event coordinates can be related. * Window size to which all input event coordinates can be related.
* Note that, especially on HiDPI systems, it may be different from * Note that, especially on HiDPI systems, it may be different from
* @ref framebufferSize(). If a window is not created yet, returns * @ref framebufferSize(). Expects that a window is already created.
* zero vector. See @ref Platform-Sdl2Application-dpi for more * See @ref Platform-Sdl2Application-dpi for more information.
* information.
* @see @ref dpiScaling() * @see @ref dpiScaling()
*/ */
Vector2i windowSize() const; Vector2i windowSize() const;
@ -591,9 +590,9 @@ class Sdl2Application {
* @brief Framebuffer size * @brief Framebuffer size
* *
* Size of the default framebuffer. Note that, especially on HiDPI * Size of the default framebuffer. Note that, especially on HiDPI
* systems, it may be different from @ref windowSize(). If a window is * systems, it may be different from @ref windowSize(). Expects that a
* not created yet, returns zero vector. See * window is already created. See @ref Platform-Sdl2Application-dpi for
* @ref Platform-Sdl2Application-dpi for more information. * more information.
* *
* @note This function is available only if Magnum is compiled with * @note This function is available only if Magnum is compiled with
* @ref MAGNUM_TARGET_GL enabled (done by default). See * @ref MAGNUM_TARGET_GL enabled (done by default). See

Loading…
Cancel
Save