diff options
| author | Dave Parks <davep@lindenlab.com> | 2012-03-08 15:22:56 -0600 | 
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2012-03-08 15:22:56 -0600 | 
| commit | 83e69659e2c950bec02df8c8e1b15fbc34ca1dc6 (patch) | |
| tree | 891fb4fef477a50b330cf71ef5dfd6e418304409 /indra/newview/llfeaturemanager.cpp | |
| parent | cd468364a77ca184133f8c49c9042cefae5c6ce1 (diff) | |
MAINT-708 Add checkbox to hardware settings for controlling texture compression.  Default texture compression to on for cards with 512MB of VRAM or less, off otherwise.
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
| -rw-r--r-- | indra/newview/llfeaturemanager.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp index 08f9d26705..82f38ae4e9 100644 --- a/indra/newview/llfeaturemanager.cpp +++ b/indra/newview/llfeaturemanager.cpp @@ -779,6 +779,10 @@ void LLFeatureManager::applyBaseMasks()  	{  		maskFeatures("MapBufferRange");  	} +	if (gGLManager.mVRAM > 512) +	{ +		maskFeatures("VRAMGT512"); +	}  	// now mask by gpu string  	// Replaces ' ' with '_' in mGPUString to deal with inability for parser to handle spaces | 
