diff options
author | Graham Linden <graham@lindenlab.com> | 2014-11-24 15:30:11 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2014-11-24 15:30:11 -0800 |
commit | 4ee98e1fc9aee96bad58370c5e2bd5e2a1af7b4b (patch) | |
tree | a1dafb1d7893768a07add1a24ecef1ba2e9ae6d9 /indra/newview | |
parent | acd0a5ed00872777e0fd6a3a5bd361232cfa3f6b (diff) |
Attempt to thread needle for guesstimation phase of GPU classification
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llfeaturemanager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp index 4df67fcc88..fdd951e720 100755 --- a/indra/newview/llfeaturemanager.cpp +++ b/indra/newview/llfeaturemanager.cpp @@ -452,31 +452,31 @@ bool LLFeatureManager::loadGPUClass() } #endif } - else if (gGLManager.mGLVersion < 2.f) + else if (gGLManager.mGLVersion <= 2.f) { mGPUClass = GPU_CLASS_0; } - else if (gGLManager.mGLVersion < 3.f) + else if (gGLManager.mGLVersion <= 3.f) { mGPUClass = GPU_CLASS_1; } - else if (gbps < 5.f) + else if (gbps <= 5.f) { mGPUClass = GPU_CLASS_0; } - else if (gbps < 16.f) + else if (gbps <= 8.f) { mGPUClass = GPU_CLASS_1; } - else if (gbps < 32.f) + else if (gbps <= 16.f) { mGPUClass = GPU_CLASS_2; } - else if (gbps < 40.f) + else if (gbps <= 40.f) { mGPUClass = GPU_CLASS_3; } - else if (gbps < 80.f) + else if (gbps <= 80.f) { mGPUClass = GPU_CLASS_4; } |