Disable EGL on Nvidia XWayland environments too

It renders a black window, just like native X11.
This commit is contained in:
Cameron Gutman
2025-12-11 20:10:37 -06:00
parent bd6a1d9a9b
commit 54163e30d0
4 changed files with 16 additions and 22 deletions

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