mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-23 12:35:36 +00:00
vulkan: fix scheduler chunk reserve
This commit is contained in:
parent
7a8a7545f2
commit
5a2dff87bf
|
@ -328,7 +328,7 @@ void Scheduler::AcquireNewChunk() {
|
|||
chunk = std::make_unique<CommandChunk>();
|
||||
} else {
|
||||
// Otherwise, we can just take from the reserve.
|
||||
chunk = std::make_unique<CommandChunk>();
|
||||
chunk = std::move(chunk_reserve.back());
|
||||
chunk_reserve.pop_back();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue