Update shaderFeatureGLSL.cpp

This commit is contained in:
Anis 2015-01-20 19:13:25 +01:00
parent c9116dd4a4
commit 5d392e373e

View file

@ -985,8 +985,8 @@ void DiffuseMapFeatGLSL::setTexData( Material::StageData &stageDat,
RenderPassData &passData,
U32 &texIndex )
{
GFXTextureObject *tex = stageDat.getTex( MFT_DiffuseMap );
passData.mSamplerNames[ texIndex ] = "diffuseMap";
GFXTextureObject *tex = stageDat.getTex( MFT_DiffuseMap );
if ( tex )
passData.mTexSlot[ texIndex++ ].texObject = tex;
}