diff options
-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(); } } |