diff options
author | Dave Parks <davep@lindenlab.com> | 2011-02-08 17:19:54 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-02-08 17:19:54 -0600 |
commit | 8f9edd3874823fccf9f78e45c758bee951b56e1d (patch) | |
tree | d31ba73f0f3ca51342b41ea77c8d384258dad624 /indra/newview/llfeaturemanager.cpp | |
parent | b30bf98531b86a422a3b2f6098b351513d15a600 (diff) |
SH-534 Don't allow deferred rendering to be enabled on windows PC's with GL version less than 3.0.
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 4e16cc4217..edfc4538a1 100644 --- a/indra/newview/llfeaturemanager.cpp +++ b/indra/newview/llfeaturemanager.cpp @@ -745,6 +745,10 @@ void LLFeatureManager::applyBaseMasks() { maskFeatures("OpenGLPre15"); } + if (gGLManager.mGLVersion < 3.f) + { + maskFeatures("OpenGLPre30"); + } // now mask by gpu string // Replaces ' ' with '_' in mGPUString to deal with inability for parser to handle spaces |