summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-24 14:09:01 +0100
committerLiam <byteslice@airmail.cc>2023-03-24 14:09:01 +0100
commit5a2dff87bfd111391b1b00dc799f5483edec96ba (patch)
tree12d6205bd56119377fa49bdf7da4162eb32b5701
parentMerge pull request #9975 from liamwhite/more-waiting (diff)
downloadyuzu-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
-rw-r--r--src/video_core/renderer_vulkan/vk_scheduler.cpp2
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();
}
}