mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 12:30:31 +00:00
Update shaderFeatureGLSL.cpp
This commit is contained in:
parent
c9116dd4a4
commit
5d392e373e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue