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:
Cameron Gutman
2026-02-06 22:37:33 -06:00
parent ddc6675dc8
commit 34c9e01a96

View File

@@ -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