From 305454453d0ab5de0da0813daedf3a392cd8f653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 20 Aug 2019 12:47:33 +0200 Subject: [PATCH] Platform: fix GLFW context creation on GL-less builds. --- src/Magnum/Platform/GlfwApplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Platform/GlfwApplication.cpp b/src/Magnum/Platform/GlfwApplication.cpp index 178064b58..008d09a77 100644 --- a/src/Magnum/Platform/GlfwApplication.cpp +++ b/src/Magnum/Platform/GlfwApplication.cpp @@ -256,7 +256,7 @@ bool GlfwApplication::tryCreate(const Configuration& configuration) { #ifdef GLFW_NO_API /* Disable implicit GL context creation */ - glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_NO_API); + glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API); #endif /* Create the window */