summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-12-12 14:52:36 -0600
committerDave Parks <davep@lindenlab.com>2012-12-12 14:52:36 -0600
commite0bc069af223e4dd3326eeb84cc2bf2a2a8e2b17 (patch)
tree8a7da97dc1658c5ed562a495e769eee4f73159a9 /indra
parenta9ada0cc6a1418da0908f995b1369912a270b22d (diff)
MAINT-2090 Never enable lighting and shadows by default on OS X
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfeaturemanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp
index 24a27c5146..7bd21a327e 100644
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -499,6 +499,10 @@ void LLFeatureManager::parseGPUTable(std::string filename)
{
LL_WARNS("RenderInit") << "GPU '" << rawRenderer << "' not recognized" << LL_ENDL;
}
+
+#if LL_DARWIN // never go over "Mid" settings by default on OS X
+ mGPUClass = llmin(mGPUClass, 2);
+#endif
}
// responder saves table into file