diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-08-09 15:57:48 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-08-09 15:57:48 +0300 |
commit | 1197da3cdff74dea8a341e5f064415a63fe8cd8c (patch) | |
tree | 05e18f5fe30c80db635a082c9fdda9c949e3d835 /indra/newview/llfeaturemanager.cpp | |
parent | ed17ca7885548f517bdf4c42c4c7987a02f28840 (diff) |
MAINT-8974 Reduce default settings for intel GPUs in case of failed benchmark
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
-rw-r--r-- | indra/newview/llfeaturemanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp index 6cf93b547e..8d07035b97 100644 --- a/indra/newview/llfeaturemanager.cpp +++ b/indra/newview/llfeaturemanager.cpp @@ -461,6 +461,11 @@ bool LLFeatureManager::loadGPUClass() { mGPUClass = GPU_CLASS_4; } + if (gGLManager.mIsIntel && mGPUClass > GPU_CLASS_1) + { + // Intels are generally weaker then other GPUs despite having advanced features + mGPUClass = (EGPUClass)(mGPUClass - 1); + } #endif } else if (gGLManager.mGLVersion <= 2.f) |