diff --git a/src/Magnum/Platform/GlfwApplication.cpp b/src/Magnum/Platform/GlfwApplication.cpp index 65e1d7780..e5ac6e50b 100644 --- a/src/Magnum/Platform/GlfwApplication.cpp +++ b/src/Magnum/Platform/GlfwApplication.cpp @@ -82,7 +82,7 @@ bool GlfwApplication::tryCreateContext(const Configuration& configuration) { glfwWindowHint(GLFW_AUTO_ICONIFY, configuration.windowFlags() >= Configuration::WindowFlag::AutoIconify); } else { const Configuration::WindowFlags& flags = configuration.windowFlags(); - glfwWindowHint(GLFW_RESIZABLE, flags >= Configuration::WindowFlag::Resizeable); + glfwWindowHint(GLFW_RESIZABLE, flags >= Configuration::WindowFlag::Resizable); glfwWindowHint(GLFW_VISIBLE, !(flags >= Configuration::WindowFlag::Hidden)); #ifdef GLFW_MAXIMIZED glfwWindowHint(GLFW_MAXIMIZED, flags >= Configuration::WindowFlag::Maximized); diff --git a/src/Magnum/Platform/GlfwApplication.h b/src/Magnum/Platform/GlfwApplication.h index 8613213f5..785ba4199 100644 --- a/src/Magnum/Platform/GlfwApplication.h +++ b/src/Magnum/Platform/GlfwApplication.h @@ -305,7 +305,15 @@ class GlfwApplication::Configuration { */ enum class WindowFlag: UnsignedShort { Fullscreen = 1 << 0, /**< Fullscreen window */ - Resizeable = 1 << 1, /**< Resizeable window */ + Resizable = 1 << 1, /**< Resizable window */ + + #ifdef MAGNUM_BUILD_DEPRECATED + /** @copydoc WindowFlag::Resizable + * @deprecated Use @ref WindowFlag::Resizable instead. + */ + Resizeable CORRADE_DEPRECATED_ENUM("use WindowFlag::Resizable instead") = UnsignedShort(WindowFlag::Resizable), + #endif + Hidden = 1 << 2, /**< Hidden window */ #if defined(DOXYGEN_GENERATING_OUTPUT) || defined(GLFW_MAXIMIZED)