aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llgl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llrender/llgl.cpp')
-rw-r--r--linden/indra/llrender/llgl.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/linden/indra/llrender/llgl.cpp b/linden/indra/llrender/llgl.cpp
index 4a4ff1b..b57a562 100644
--- a/linden/indra/llrender/llgl.cpp
+++ b/linden/indra/llrender/llgl.cpp
@@ -383,11 +383,10 @@ bool LLGLManager::initGL()
383 if (mGLVendor.substr(0,4) == "ATI ") 383 if (mGLVendor.substr(0,4) == "ATI ")
384 { 384 {
385 mGLVendorShort = "ATI"; 385 mGLVendorShort = "ATI";
386 BOOL mobile = FALSE; 386 // This is not used anywhere.
387 if (mGLRenderer.find("MOBILITY") != std::string::npos) 387 //BOOL mobile = FALSE;
388 { 388 //if (mGLRenderer.find("MOBILITY") != std::string::npos)
389 mobile = TRUE; 389 // mobile = TRUE;
390 }
391 mIsATI = TRUE; 390 mIsATI = TRUE;
392 391
393#if LL_WINDOWS && !LL_MESA_HEADLESS 392#if LL_WINDOWS && !LL_MESA_HEADLESS
@@ -1014,8 +1013,8 @@ void assert_glerror()
1014void clear_glerror() 1013void clear_glerror()
1015{ 1014{
1016 // Create or update texture to be used with this data 1015 // Create or update texture to be used with this data
1017 GLenum error; 1016 //GLenum error;
1018 error = glGetError(); 1017 /*error =*/ glGetError();
1019} 1018}
1020 1019
1021/////////////////////////////////////////////////////////////// 1020///////////////////////////////////////////////////////////////