mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
Merge pull request #9985 from liamwhite/funny-meme
vulkan: fix scheduler chunk reserve
This commit is contained in:
commit
09da9da6fb
@ -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 New Issue
Block a user