Use EGL+GLES workaround for Nvidia X11

We can avoid disabling EGL entirely by forcing Qt to use GLES,
which is not impacted by the black window issue. This lets us
simplify back to EGL everywhere.
This commit is contained in:
Cameron Gutman
2025-12-14 16:21:32 -06:00
parent de844f2a0c
commit 3425fec33d
4 changed files with 15 additions and 22 deletions

View File

@@ -183,10 +183,3 @@ QString WMUtils::getDrmCardOverride()
return QString();
}
bool WMUtils::isX11EGLSafe()
{
// Nvidia's driver has broken EGL support on X11 and XWayland
// https://github.com/moonlight-stream/moonlight-qt/issues/1751
return !WMUtils::isRunningNvidiaProprietaryDriverX11();
}