diff options
author | Dave Parks <davep@lindenlab.com> | 2012-11-30 17:03:12 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-11-30 17:03:12 -0600 |
commit | e83700b56dcf2b0f392b49a79123b78bc7c8fbd9 (patch) | |
tree | 6cef4dbb7bbf6663bafd1837ae251491a3c10736 /indra/newview/llfeaturemanager.h | |
parent | 3df1e46588c7bada79e8ee537607282fd3cdcc9f (diff) |
MAINT-1991 Attempt to mitigate crashes in GL drivers by encouraging people to update their drivers.
Reviewed by Simon
Diffstat (limited to 'indra/newview/llfeaturemanager.h')
-rw-r--r-- | indra/newview/llfeaturemanager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfeaturemanager.h b/indra/newview/llfeaturemanager.h index 6f9d2e49c6..ad72c16743 100644 --- a/indra/newview/llfeaturemanager.h +++ b/indra/newview/llfeaturemanager.h @@ -103,7 +103,8 @@ public: mTableVersion(0), mSafe(FALSE), mGPUClass(GPU_CLASS_UNKNOWN), - mGPUSupported(FALSE) + mExpectedGLVersion(0.f), + mGPUSupported(FALSE) { } ~LLFeatureManager() {cleanupFeatureTables();} @@ -118,6 +119,7 @@ public: EGPUClass getGPUClass() { return mGPUClass; } std::string& getGPUString() { return mGPUString; } BOOL isGPUSupported() { return mGPUSupported; } + F32 getExpectedGLVersion() { return mExpectedGLVersion; } void cleanupFeatureTables(); @@ -157,6 +159,7 @@ protected: S32 mTableVersion; BOOL mSafe; // Reinitialize everything to the "safe" mask EGPUClass mGPUClass; + F32 mExpectedGLVersion; //expected GL version according to gpu table std::string mGPUString; BOOL mGPUSupported; }; |