From 8479be7758642f1df3d90c46d942d6d98d288be1 Mon Sep 17 00:00:00 2001 From: Tracy Ma <1991md@gmail.com> Date: Mon, 21 Sep 2020 16:36:15 +0800 Subject: [PATCH] Fix: unable to create gl context on desktop with ANGLE + GLFW3 --- src/Magnum/Platform/GlfwApplication.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Magnum/Platform/GlfwApplication.cpp b/src/Magnum/Platform/GlfwApplication.cpp index 338483471..f8621941a 100644 --- a/src/Magnum/Platform/GlfwApplication.cpp +++ b/src/Magnum/Platform/GlfwApplication.cpp @@ -475,6 +475,7 @@ bool GlfwApplication::tryCreate(const Configuration& configuration, const GLConf #endif glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API); + glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_EGL_CONTEXT_API); #endif }