better handle old style references to named texture targets

This commit is contained in:
AzaezelX 2021-11-04 15:44:43 -05:00
parent 4d56b34bbb
commit e211f502e8
2 changed files with 7 additions and 2 deletions

View file

@ -1122,7 +1122,7 @@ void PostEffect::_setupConstants( const SceneRenderState *state )
void PostEffect::_setupTexture( U32 stage, GFXTexHandle &inputTex, const RectI *inTexViewport )
{
const String &texFilename = mTextureName[ stage ];
const String &texFilename = getTexture( stage );
GFXTexHandle theTex;
NamedTexTarget *namedTarget = NULL;