From 44f829acbd31820c08ecebb880747a184b87a5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 1 May 2018 22:12:36 +0200 Subject: [PATCH] Platform: fix WindowlessWglApplication on non-deprecated builds. --- src/Magnum/Platform/WindowlessWglApplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Platform/WindowlessWglApplication.cpp b/src/Magnum/Platform/WindowlessWglApplication.cpp index 7b4fa31458..414bdadf15 100644 --- a/src/Magnum/Platform/WindowlessWglApplication.cpp +++ b/src/Magnum/Platform/WindowlessWglApplication.cpp @@ -251,7 +251,7 @@ void WindowlessWglApplication::createContext(const Configuration& configuration) } bool WindowlessWglApplication::tryCreateContext(const Configuration& configuration) { - CORRADE_ASSERT(_context->version() == Version::None, "Platform::WindowlessWglApplication::tryCreateContext(): context already created", false); + CORRADE_ASSERT(_context->version() == GL::Version::None, "Platform::WindowlessWglApplication::tryCreateContext(): context already created", false); WindowlessWglContext glContext{configuration, _context.get()}; if(!glContext.isCreated() || !glContext.makeCurrent() || !_context->tryCreate())