diff --git a/Source/Engine/Graphics/Textures/StreamingTexture.cpp b/Source/Engine/Graphics/Textures/StreamingTexture.cpp index bb4273826..9dc1ef50c 100644 --- a/Source/Engine/Graphics/Textures/StreamingTexture.cpp +++ b/Source/Engine/Graphics/Textures/StreamingTexture.cpp @@ -297,7 +297,11 @@ Task* StreamingTexture::UpdateAllocation(int32 residency) if (texture->Init(desc)) { Streaming.Error = true; - LOG(Error, "Cannot allocate texture {0}.", texture->GetName()); +#if GPU_ENABLE_RESOURCE_NAMING + LOG(Error, "Cannot allocate texture {0}", texture->GetName()); +#else + LOG(Error, "Cannot allocate texture"); +#endif } if (allocatedResidency != 0) {