summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeenz <geenz@geenzo.com>2013-02-04 13:08:37 -0500
committerGeenz <geenz@geenzo.com>2013-02-04 13:08:37 -0500
commit170ecf5e8a771c8dd629cae0715ab243edea1171 (patch)
tree4efee9aa727cd718b0e4364debfcb062d70e854b
parenta91b231bfeb07fbfb123ce11e863941e311fc0f3 (diff)
Whoops! Normal maps don't belong here...
-rw-r--r--indra/newview/lldrawpoolmaterials.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolmaterials.cpp b/indra/newview/lldrawpoolmaterials.cpp
index 5eb3cb9629..e775346563 100644
--- a/indra/newview/lldrawpoolmaterials.cpp
+++ b/indra/newview/lldrawpoolmaterials.cpp
@@ -90,7 +90,7 @@ void LLDrawPoolMaterials::renderDeferred(S32 pass)
bindNormalMap(params.mNormalMap);
params.mSpecularMap->addTextureStats(params.mVSize);
- bindSpecularMap(params.mNormalMap);
+ bindSpecularMap(params.mSpecularMap);
diffuse_channel = mShader->enableTexture(LLShaderMgr::DIFFUSE_MAP);
pushBatch(params, VERTEX_DATA_MASK, TRUE);