summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-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);