diff options
author | Gilbert Gonzales <gilbert@lindenlab.com> | 2013-03-18 09:43:16 -0700 |
---|---|---|
committer | Gilbert Gonzales <gilbert@lindenlab.com> | 2013-03-18 09:43:16 -0700 |
commit | a17ed876c8c55cb4f8977f5dbcec4ae99df98d70 (patch) | |
tree | 0a05c65995f984058d940574a8bb7e4be3a58065 /indra/llrender | |
parent | 0a0ba068bf5bc6d829440a12946174c6ed961843 (diff) | |
parent | a079acf1aa3b7cfe8ee35bb7afdbae83df0df5ca (diff) |
merge
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llgl.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp index 9e4857b6bc..c8cf3713ab 100644 --- a/indra/llrender/llgl.cpp +++ b/indra/llrender/llgl.cpp @@ -597,11 +597,6 @@ bool LLGLManager::initGL() if (mGLVendor.substr(0,4) == "ATI ") { mGLVendorShort = "ATI"; - BOOL mobile = FALSE; - if (mGLRenderer.find("MOBILITY") != std::string::npos) - { - mobile = TRUE; - } mIsATI = TRUE; #if LL_WINDOWS && !LL_MESA_HEADLESS @@ -1489,9 +1484,7 @@ void assert_glerror() void clear_glerror() { - // Create or update texture to be used with this data - GLenum error; - error = glGetError(); + glGetError(); } /////////////////////////////////////////////////////////////// |