1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

vk: Fix unused variable error

This commit is contained in:
kd-11 2021-08-13 21:21:56 +03:00 committed by kd-11
parent 4b2562d02a
commit b928cb0223

View File

@ -120,7 +120,7 @@ namespace vk
const auto type_id = type_ids[i]; const auto type_id = type_ids[i];
ensure(heap_size > 0); ensure(heap_size > 0);
const u64 used_mem = vmm_get_application_memory_usage({ type_ids[i], 0ull }); const u64 used_mem = vmm_get_application_memory_usage({ type_id, 0ull });
const u64 free_mem = (used_mem >= heap_size) ? 0ull : (heap_size - used_mem); const u64 free_mem = (used_mem >= heap_size) ? 0ull : (heap_size - used_mem);
to_reorder |= (free_mem > last_free); to_reorder |= (free_mem > last_free);