diff options
author | Dave Parks <davep@lindenlab.com> | 2011-05-31 15:34:05 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-05-31 15:34:05 -0500 |
commit | e881ee54d0f6cbddcc08bfd30d09232ed891df08 (patch) | |
tree | b87cd390376b9e012b2f6374c47f62bc7b0b3d03 /indra | |
parent | 9da4007f85912330a70bc87bfb97cbcf1033e3ab (diff) |
Unused variable.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewershadermgr.cpp | 3 |
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(); |