diff options
Diffstat (limited to 'linden/indra/newview/llfeaturemanager.cpp')
-rw-r--r-- | linden/indra/newview/llfeaturemanager.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/linden/indra/newview/llfeaturemanager.cpp b/linden/indra/newview/llfeaturemanager.cpp index 8bcbc1e..93450b4 100644 --- a/linden/indra/newview/llfeaturemanager.cpp +++ b/linden/indra/newview/llfeaturemanager.cpp | |||
@@ -402,7 +402,7 @@ void LLFeatureManager::cleanupFeatureTables() | |||
402 | 402 | ||
403 | void LLFeatureManager::initCPUFeatureMasks() | 403 | void LLFeatureManager::initCPUFeatureMasks() |
404 | { | 404 | { |
405 | if (gSysMemory.getPhysicalMemory() <= 256*1024*1024) | 405 | if (gSysMemory.getPhysicalMemoryClamped() <= 256*1024*1024) |
406 | { | 406 | { |
407 | maskFeatures("RAM256MB"); | 407 | maskFeatures("RAM256MB"); |
408 | } | 408 | } |
@@ -494,7 +494,7 @@ extern LLOSInfo gSysOS; | |||
494 | 494 | ||
495 | void LLFeatureManager::applyRecommendedFeatures() | 495 | void LLFeatureManager::applyRecommendedFeatures() |
496 | { | 496 | { |
497 | // see featuretable.txt | 497 | // see featuretable.txt / featuretable_linux.txt / featuretable_mac.txt |
498 | 498 | ||
499 | llinfos << "Applying Recommended Features" << llendl; | 499 | llinfos << "Applying Recommended Features" << llendl; |
500 | #ifndef LL_RELEASE_FOR_DOWNLOAD | 500 | #ifndef LL_RELEASE_FOR_DOWNLOAD |
@@ -544,6 +544,10 @@ void LLFeatureManager::applyRecommendedFeatures() | |||
544 | // RippleWater | 544 | // RippleWater |
545 | BOOL ripple = getRecommendedLevel("RenderRippleWater"); | 545 | BOOL ripple = getRecommendedLevel("RenderRippleWater"); |
546 | gSavedSettings.setBOOL("RenderRippleWater", ripple); | 546 | gSavedSettings.setBOOL("RenderRippleWater", ripple); |
547 | |||
548 | // Occlusion Culling | ||
549 | BOOL occlusion = getRecommendedLevel("UseOcclusion"); | ||
550 | gSavedSettings.setBOOL("UseOcclusion", occlusion); | ||
547 | 551 | ||
548 | // Vertex Shaders | 552 | // Vertex Shaders |
549 | S32 shaders = getRecommendedLevel("VertexShaderEnable"); | 553 | S32 shaders = getRecommendedLevel("VertexShaderEnable"); |