From cbeb6c147744f38c19b46d31376469a3cbeffb9c Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 1 Sep 2022 19:17:04 -0700 Subject: [PATCH] Replacement: Fix reload of replaced textures. Were showing as ready before they were ready after decimate, causing flickering. --- Core/TextureReplacer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/TextureReplacer.cpp b/Core/TextureReplacer.cpp index 4544fdcd72..fb6b436661 100644 --- a/Core/TextureReplacer.cpp +++ b/Core/TextureReplacer.cpp @@ -970,6 +970,7 @@ void ReplacedTexture::PrepareData(int level) { void ReplacedTexture::PurgeIfOlder(double t) { if (lastUsed_ < t && (!threadWaitable_ || threadWaitable_->WaitFor(0.0))) { levelData_.clear(); + initDone_ = false; } }