yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

vulkan: fix scheduler chunk reserve

This commit is contained in:
Liam 2023-03-24 09:09:01 -04:00
parent 7a8a7545f2
commit 5a2dff87bf
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ void Scheduler::AcquireNewChunk() {
chunk = std::make_unique<CommandChunk>(); chunk = std::make_unique<CommandChunk>();
} else { } else {
// Otherwise, we can just take from the reserve. // Otherwise, we can just take from the reserve.
chunk = std::make_unique<CommandChunk>(); chunk = std::move(chunk_reserve.back());
chunk_reserve.pop_back(); chunk_reserve.pop_back();
} }
} }