Browse Source

Fix: unable to create gl context on desktop with ANGLE + GLFW3

pull/470/head
Tracy Ma 6 years ago
parent
commit
8479be7758
  1. 1
      src/Magnum/Platform/GlfwApplication.cpp

1
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
}

Loading…
Cancel
Save