From 6474413aaf3a718cc9efe3779c6c444d63f102f1 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Tue, 16 Nov 2021 12:40:22 -0600 Subject: [PATCH] fix reported ASAN crash --- Engine/source/postFx/postEffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/postFx/postEffect.cpp b/Engine/source/postFx/postEffect.cpp index ca6baeb89..94b0ce7dc 100644 --- a/Engine/source/postFx/postEffect.cpp +++ b/Engine/source/postFx/postEffect.cpp @@ -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.