From 439b40f7629589652fa328a33dcf9348208d2ea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 30 Aug 2018 01:37:46 +0200 Subject: [PATCH] Platform: this actually asserts now. --- src/Magnum/Platform/Sdl2Application.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Magnum/Platform/Sdl2Application.h b/src/Magnum/Platform/Sdl2Application.h index e598d39d0..a94e0c870 100644 --- a/src/Magnum/Platform/Sdl2Application.h +++ b/src/Magnum/Platform/Sdl2Application.h @@ -579,9 +579,8 @@ class Sdl2Application { * * Window size to which all input event coordinates can be related. * Note that, especially on HiDPI systems, it may be different from - * @ref framebufferSize(). If a window is not created yet, returns - * zero vector. See @ref Platform-Sdl2Application-dpi for more - * information. + * @ref framebufferSize(). Expects that a window is already created. + * See @ref Platform-Sdl2Application-dpi for more information. * @see @ref dpiScaling() */ Vector2i windowSize() const; @@ -591,9 +590,9 @@ class Sdl2Application { * @brief Framebuffer size * * Size of the default framebuffer. Note that, especially on HiDPI - * systems, it may be different from @ref windowSize(). If a window is - * not created yet, returns zero vector. See - * @ref Platform-Sdl2Application-dpi for more information. + * systems, it may be different from @ref windowSize(). Expects that a + * window is already created. See @ref Platform-Sdl2Application-dpi for + * more information. * * @note This function is available only if Magnum is compiled with * @ref MAGNUM_TARGET_GL enabled (done by default). See