summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-05-31 15:34:05 -0500
committerDave Parks <davep@lindenlab.com>2011-05-31 15:34:05 -0500
commite881ee54d0f6cbddcc08bfd30d09232ed891df08 (patch)
treeb87cd390376b9e012b2f6374c47f62bc7b0b3d03
parent9da4007f85912330a70bc87bfb97cbcf1033e3ab (diff)
Unused variable.
-rw-r--r--indra/newview/llviewershadermgr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp
index fb92fabaeb..a1cb6d4ea6 100644
--- a/indra/newview/llviewershadermgr.cpp
+++ b/indra/newview/llviewershadermgr.cpp
@@ -1570,8 +1570,7 @@ BOOL LLViewerShaderMgr::loadShadersDeferred()
BOOL LLViewerShaderMgr::loadShadersObject()
{
BOOL success = TRUE;
- bool batch_textures = mVertexShaderLevel[SHADER_OBJECT] > 1;
-
+
if (mVertexShaderLevel[SHADER_OBJECT] == 0)
{
gObjectShinyProgram.unload();