summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2018-08-09 15:57:48 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2018-08-09 15:57:48 +0300
commit1197da3cdff74dea8a341e5f064415a63fe8cd8c (patch)
tree05e18f5fe30c80db635a082c9fdda9c949e3d835
parented17ca7885548f517bdf4c42c4c7987a02f28840 (diff)
MAINT-8974 Reduce default settings for intel GPUs in case of failed benchmark
-rw-r--r--indra/newview/llfeaturemanager.cpp5
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)