mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-25 17:43:44 +00:00
fix reported ASAN crash
This commit is contained in:
parent
b5bd242e23
commit
6474413aaf
1 changed files with 1 additions and 1 deletions
|
|
@ -1644,7 +1644,7 @@ void PostEffect::setTexture( U32 index, const String &texFilePath )
|
|||
void PostEffect::setTexture(U32 index, const GFXTexHandle& texHandle)
|
||||
{
|
||||
// Set the new texture name.
|
||||
mTextureName[index] = "";
|
||||
mTextureName[index] = StringTable->EmptyString();
|
||||
mTexture[index].free();
|
||||
|
||||
// Skip empty stages or ones with variable or target names.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue