Replacement: Fix reload of replaced textures.

Were showing as ready before they were ready after decimate, causing
flickering.
This commit is contained in:
Unknown W. Brackets committed 2022-09-01 19:17:04 -07:00
1 parent c5fbb400de
commit cbeb6c1477
1 file changed
+1
+1
View File
@@ -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;
}
}