summaryrefslogtreecommitdiff
path: root/indra/newview/llfeaturemanager.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-05-13 10:29:52 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-05-13 10:29:52 -0400
commit4046e0801ba4f7a01311de06b110177630ea6e04 (patch)
tree47ad154496cb50ef39617cf1b9ddc147d1358076 /indra/newview/llfeaturemanager.cpp
parent40325a7347a059f913e01b449c924b13d1471e23 (diff)
parent8017900e7f536663153451ff788d8662427782ed (diff)
merge
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
-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 9f0b34becc..524d2d74ef 100644
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -753,6 +753,10 @@ void LLFeatureManager::applyBaseMasks()
{
maskFeatures("OpenGLPre30");
}
+ if (gGLManager.mNumTextureUnits <= 8)
+ {
+ maskFeatures("TexUnit8orLess");
+ }
// now mask by gpu string
// Replaces ' ' with '_' in mGPUString to deal with inability for parser to handle spaces