summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-18 04:44:21 +0200
committerLiam <byteslice@airmail.cc>2023-10-18 04:44:21 +0200
commitc5bdc0054cf60d5924046306d8a01991b70035a5 (patch)
tree098b2266681e6279cc8eb95d6f7029feba8e7037 /src/video_core
parentMerge pull request #11774 from liamwhite/refcount-issue (diff)
downloadyuzu-c5bdc0054cf60d5924046306d8a01991b70035a5.tar
yuzu-c5bdc0054cf60d5924046306d8a01991b70035a5.tar.gz
yuzu-c5bdc0054cf60d5924046306d8a01991b70035a5.tar.bz2
yuzu-c5bdc0054cf60d5924046306d8a01991b70035a5.tar.lz
yuzu-c5bdc0054cf60d5924046306d8a01991b70035a5.tar.xz
yuzu-c5bdc0054cf60d5924046306d8a01991b70035a5.tar.zst
yuzu-c5bdc0054cf60d5924046306d8a01991b70035a5.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/vk_texture_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp
index 93773a69f..8fea825c0 100644
--- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp
@@ -2034,7 +2034,7 @@ void TextureCacheRuntime::TransitionImageLayout(Image& image) {
},
};
scheduler.RequestOutsideRenderPassOperationContext();
- scheduler.Record([barrier = barrier](vk::CommandBuffer cmdbuf) {
+ scheduler.Record([barrier](vk::CommandBuffer cmdbuf) {
cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, 0, barrier);
});