From 606811735cdbd7a5779fe4ac32d91a0ee5152a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 7 May 2018 17:42:40 +0200 Subject: [PATCH] Platform: minor cleanup. --- src/Magnum/Platform/GlfwApplication.cpp | 2 +- src/Magnum/Platform/GlfwApplication.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Platform/GlfwApplication.cpp b/src/Magnum/Platform/GlfwApplication.cpp index d1c31a17c..592fdf88c 100644 --- a/src/Magnum/Platform/GlfwApplication.cpp +++ b/src/Magnum/Platform/GlfwApplication.cpp @@ -123,7 +123,7 @@ bool GlfwApplication::tryCreate(const Configuration& configuration) { glfwWindowHint(GLFW_FOCUSED, configuration.windowFlags() >= Configuration::WindowFlag::Focused); #ifdef GLFW_NO_API - /* Disable implicit GL context c/reation */ + /* Disable implicit GL context creation */ glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_NO_API); #endif diff --git a/src/Magnum/Platform/GlfwApplication.h b/src/Magnum/Platform/GlfwApplication.h index ce6723642..d1feeeb91 100644 --- a/src/Magnum/Platform/GlfwApplication.h +++ b/src/Magnum/Platform/GlfwApplication.h @@ -480,7 +480,7 @@ class GlfwApplication { static GlfwApplication* _instance; - GLFWwindow* _window{ nullptr }; + GLFWwindow* _window{nullptr}; Flags _flags; #ifdef MAGNUM_TARGET_GL std::unique_ptr _context;