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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user