diff options
| author | Dave Parks <davep@lindenlab.com> | 2011-03-10 00:41:46 -0600 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2011-03-10 00:41:46 -0600 |
| commit | 5fd953df8fafb769d31688c47cf3f8634f858de5 (patch) | |
| tree | 7a0f38e57a4132e78f5e1e61dd316adec7e6355a /indra/newview/llfeaturemanager.cpp | |
| parent | d46594bf714cd19ebcbf693463c4d39e4c771bb8 (diff) | |
SH-874 Properly detect available video memory on ATI cards and disable vertex buffer objects when available vram is under 256MB.
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 edfc4538a1..9f0b34becc 100644 --- a/indra/newview/llfeaturemanager.cpp +++ b/indra/newview/llfeaturemanager.cpp @@ -729,6 +729,10 @@ void LLFeatureManager::applyBaseMasks() { maskFeatures("ATI"); } + if (gGLManager.mHasATIMemInfo && gGLManager.mVRAM < 256) + { + maskFeatures("ATIVramLT256"); + } if (gGLManager.mATIOldDriver) { maskFeatures("ATIOldDriver"); |
