diff options
author | Liam <byteslice@airmail.cc> | 2023-03-24 14:09:01 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-24 14:09:01 +0100 |
commit | 5a2dff87bfd111391b1b00dc799f5483edec96ba (patch) | |
tree | 12d6205bd56119377fa49bdf7da4162eb32b5701 /src/video_core/renderer_vulkan/vk_scheduler.cpp | |
parent | Merge pull request #9975 from liamwhite/more-waiting (diff) | |
download | yuzu-5a2dff87bfd111391b1b00dc799f5483edec96ba.tar yuzu-5a2dff87bfd111391b1b00dc799f5483edec96ba.tar.gz yuzu-5a2dff87bfd111391b1b00dc799f5483edec96ba.tar.bz2 yuzu-5a2dff87bfd111391b1b00dc799f5483edec96ba.tar.lz yuzu-5a2dff87bfd111391b1b00dc799f5483edec96ba.tar.xz yuzu-5a2dff87bfd111391b1b00dc799f5483edec96ba.tar.zst yuzu-5a2dff87bfd111391b1b00dc799f5483edec96ba.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_scheduler.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_scheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_scheduler.cpp b/src/video_core/renderer_vulkan/vk_scheduler.cpp index 55e699552..b264e6ada 100644 --- a/src/video_core/renderer_vulkan/vk_scheduler.cpp +++ b/src/video_core/renderer_vulkan/vk_scheduler.cpp @@ -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(); } } |