const VulkanFunctions &vk = device.get_functions();
MemoryAllocator &allocator = device.get_allocator();
- ++current_frame;
while(!queue.empty() && current_frame>=queue.front().on_frame)
{
const Entry &e = queue.front();
allocator.release(e.memory_id);
queue.pop_front();
}
+
+ ++current_frame;
}
} // namespace GL