Reduce Render targets Pool flushing frequency to prevent memory popping
This commit is contained in:
@@ -21,7 +21,7 @@ namespace
|
||||
|
||||
void RenderTargetPool::Flush(bool force)
|
||||
{
|
||||
const uint64 framesOffset = 10;
|
||||
const uint64 framesOffset = 3 * 60;
|
||||
const uint64 maxReleaseFrame = Engine::FrameCount - framesOffset;
|
||||
force |= Engine::ShouldExit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user