GPUDevice: Fix erratic texture pool recycling

This commit is contained in:
Stenzek
2023-12-27 02:26:53 +10:00
parent 98d5b98ab1
commit 6d07d70946
2 changed files with 9 additions and 11 deletions

View File

@ -680,7 +680,7 @@ protected:
std::unique_ptr<GPUSampler> m_linear_sampler;
private:
static constexpr u32 MAX_TEXTURE_POOL_SIZE = 100;
static constexpr u32 MAX_TEXTURE_POOL_SIZE = 125;
static constexpr u32 MAX_TARGET_POOL_SIZE = 50;
static constexpr u32 POOL_PURGE_DELAY = 300;