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