- moved the decision whether to upscale textures up one level in the function chain. Still not the perfect place, this should be decided before creating the texture, not in the middle of the process.

- disabled the selective texture cleaning in the precacher. The logic here turned out to be a serious blocker and needs to be rethought.
This commit is contained in:
Christoph Oelckers 2020-04-16 21:36:14 +02:00
commit 0b990f0dcb
8 changed files with 32 additions and 32 deletions

View file

@ -373,8 +373,8 @@ bool Wiper_Burn::Run(int ticks)
done = (Density < 0);
}
BurnTexture->CleanHardwareTextures(true, true);
endScreen->GetTexture()->CleanHardwareTextures(false, false);
BurnTexture->CleanHardwareTextures(true);
endScreen->GetTexture()->CleanHardwareTextures(false); // this only cleans the descriptor sets for the Vulkan backend. Needs to be done better.
const uint8_t *src = BurnArray;
uint32_t *dest = (uint32_t *)BurnTexture->GetBuffer();