From 3b1fb704ca1ef2d5584f0da388a379632c199fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 15 Jul 2023 16:11:07 +0200 Subject: [PATCH] Platform: add a TODO for a NVidia bug triggered by GLFW. --- src/Magnum/Platform/GlfwApplication.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Magnum/Platform/GlfwApplication.cpp b/src/Magnum/Platform/GlfwApplication.cpp index 0c25025b6..2e7c636e5 100644 --- a/src/Magnum/Platform/GlfwApplication.cpp +++ b/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 }