Disable EGL on Nvidia XWayland environments too

It renders a black window, just like native X11.
This commit is contained in:
Cameron Gutman committed 2025-12-11 20:13:14 -06:00
1 parent bd6a1d9a9b
commit 54163e30d0
4 files changed
+16 -22

No files matched your search

+1 -1
View File
@@ -476,7 +476,7 @@ int main(int argc, char *argv[])
#endif
}
if (WMUtils::isEGLSafe()) {
if (WMUtils::isX11EGLSafe()) {
// Some ARM and RISC-V embedded devices don't have working GLX which can cause
// SDL to fail to find a working OpenGL implementation at all. Let's force EGL
// on all platforms for both SDL and Qt. This also avoids GLX-EGL interop issues