mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +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:
+1
-1
@@ -210,7 +210,7 @@ bool WMUtils::isGpuSlow()
|
|||||||
bool ret;
|
bool ret;
|
||||||
|
|
||||||
if (!Utils::getEnvironmentVariableOverride("GL_IS_SLOW", &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
|
// We currently assume GPUs on non-x86 hardware are slow by default
|
||||||
ret = true;
|
ret = true;
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user