mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 02:30:52 +00:00
Exclude Windows and macOS systems from the slow GPU heuristic
It's targeted at SBCs, which don't run Windows or macOS.
This commit is contained in:
@@ -210,7 +210,7 @@ bool WMUtils::isGpuSlow()
|
||||
bool ret;
|
||||
|
||||
if (!Utils::getEnvironmentVariableOverride("GL_IS_SLOW", &ret)) {
|
||||
#if defined(GL_IS_SLOW) || !defined(Q_PROCESSOR_X86)
|
||||
#if defined(GL_IS_SLOW) || (!defined(Q_PROCESSOR_X86) && !defined(Q_OS_DARWIN) && !defined(Q_OS_WIN))
|
||||
// We currently assume GPUs on non-x86 hardware are slow by default
|
||||
ret = true;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user