mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-24 13:41:14 +00:00
Use EGL_VENDOR instead of NV-CONTROL for Nvidia detection
The latter will still match on a hybrid system when the iGPU's EGL implementation is in use. This scenario works properly with EGL rendering in Qt and SDL, so we want to allow that.
This commit is contained in:
+2
-1
@@ -7,9 +7,10 @@
|
||||
|
||||
namespace WMUtils {
|
||||
bool isRunningX11();
|
||||
bool isRunningX11NvidiaProprietaryDriver();
|
||||
bool isRunningNvidiaProprietaryDriver();
|
||||
bool isRunningWayland();
|
||||
bool isRunningWindowManager();
|
||||
bool isRunningDesktopEnvironment();
|
||||
bool isEGLSafe();
|
||||
QString getDrmCardOverride();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user