Fix #137395: Vulkan: Memory reset to early

A better solution to solve the memory leak needs to be checked. Partial
revert of 3c70758f00 as it can reset GPUs
or data buffers.
This commit is contained in:
Jeroen Bakker
2025-04-14 09:45:14 +02:00
parent 5a2a6da0a2
commit b4028ee28f

View File

@@ -57,7 +57,6 @@ void VKContext::sync_backbuffer(bool cycle_resource_pool)
if (cycle_resource_pool) {
thread_data.resource_pool_next();
VKResourcePool &resource_pool = thread_data.resource_pool_get();
resource_pool.reset();
imm = &resource_pool.immediate;
}