aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llgl.cpp
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-04-06 21:47:13 +1000
committerDavid Walter Seikel2013-04-06 21:47:13 +1000
commitba982c0575515a8524d5044f928cd336303f807c (patch)
tree7044c629d59d89e5b8e896914097ccc5de619975 /linden/indra/llrender/llgl.cpp
parentAnd actually add the new files for MOAP radar (diff)
downloadmeta-impy-ba982c0575515a8524d5044f928cd336303f807c.zip
meta-impy-ba982c0575515a8524d5044f928cd336303f807c.tar.gz
meta-impy-ba982c0575515a8524d5044f928cd336303f807c.tar.bz2
meta-impy-ba982c0575515a8524d5044f928cd336303f807c.tar.xz
Clean up some compiler warnings. More to come.
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///////////////////////////////////////////////////////////////