Browse Source

Platform: add a TODO for a NVidia bug triggered by GLFW.

pull/168/head
Vladimír Vondruš 3 years ago
parent
commit
3b1fb704ca
  1. 2
      src/Magnum/Platform/GlfwApplication.cpp

2
src/Magnum/Platform/GlfwApplication.cpp

@ -460,6 +460,7 @@ bool GlfwApplication::tryCreate(const Configuration& configuration, const GLConf
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API);
#endif
#ifdef MAGNUM_TARGET_EGL /* Force EGL if desired */
/** @todo fails on NVidia X11: https://github.com/glfw/glfw/issues/2365 */
glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_EGL_CONTEXT_API);
#endif
@ -487,6 +488,7 @@ bool GlfwApplication::tryCreate(const Configuration& configuration, const GLConf
glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API);
#endif
#ifdef MAGNUM_TARGET_EGL /* Force EGL if desired */
/** @todo fails on NVidia X11: https://github.com/glfw/glfw/issues/2365 */
glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_EGL_CONTEXT_API);
#endif
}

Loading…
Cancel
Save