summaryrefslogtreecommitdiff
path: root/indra/newview/llfeaturemanager.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2014-03-21 14:33:46 -0500
committerDave Parks <davep@lindenlab.com>2014-03-21 14:33:46 -0500
commitc142696f9dd18dcebee903444225026caf08e6e3 (patch)
treed792bf369038235c1eccf2fad8d2e475b1d658f4 /indra/newview/llfeaturemanager.cpp
parent7defa95f6778778d850aa1aba3ea8cb16396d0dd (diff)
MAINT-3131 Actually fallback to GL version guess instead of treating error value from gpu_benchmark as actual memory bandwidth.
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
-rwxr-xr-xindra/newview/llfeaturemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp
index 938ea707f9..5f37c0ea73 100755
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -424,7 +424,7 @@ bool LLFeatureManager::loadGPUClass()
//get memory bandwidth from benchmark
F32 gbps = gpu_benchmark();
- if (gbps < -1.f)
+ if (gbps < 0.f)
{ //couldn't bench, use GLVersion
if (gGLManager.mGLVersion < 2.f)