summaryrefslogtreecommitdiff
path: root/indra/newview/llfeaturemanager.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2014-11-21 11:15:39 -0800
committerGraham Linden <graham@lindenlab.com>2014-11-21 11:15:39 -0800
commitacd0a5ed00872777e0fd6a3a5bd361232cfa3f6b (patch)
treea0c97f1947b2b604f1cbeddbf00311b679f0da3a /indra/newview/llfeaturemanager.cpp
parentd8040ad4340a1b76caa6b31f2d5c8a117d83b692 (diff)
Tweak conversion from tested bandwidth to get better reads on low-end systems
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
-rwxr-xr-xindra/newview/llfeaturemanager.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp
index bc8fcb54bb..4df67fcc88 100755
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -452,15 +452,23 @@ bool LLFeatureManager::loadGPUClass()
}
#endif
}
+ else if (gGLManager.mGLVersion < 2.f)
+ {
+ mGPUClass = GPU_CLASS_0;
+ }
+ else if (gGLManager.mGLVersion < 3.f)
+ {
+ mGPUClass = GPU_CLASS_1;
+ }
else if (gbps < 5.f)
{
mGPUClass = GPU_CLASS_0;
}
- else if (gbps < 10.f)
+ else if (gbps < 16.f)
{
mGPUClass = GPU_CLASS_1;
}
- else if (gbps < 20.f)
+ else if (gbps < 32.f)
{
mGPUClass = GPU_CLASS_2;
}