summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-01-07 21:56:15 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-02-13 19:07:56 +0100
commitb675c44e494976cf8164203fc826b54e2fac467b (patch)
tree68880d4617e87048fd1c325ed05dc26b434396cf /src/video_core/gpu_thread.cpp
parentAddress PR feedback (diff)
downloadyuzu-b675c44e494976cf8164203fc826b54e2fac467b.tar
yuzu-b675c44e494976cf8164203fc826b54e2fac467b.tar.gz
yuzu-b675c44e494976cf8164203fc826b54e2fac467b.tar.bz2
yuzu-b675c44e494976cf8164203fc826b54e2fac467b.tar.lz
yuzu-b675c44e494976cf8164203fc826b54e2fac467b.tar.xz
yuzu-b675c44e494976cf8164203fc826b54e2fac467b.tar.zst
yuzu-b675c44e494976cf8164203fc826b54e2fac467b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/gpu_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 7644588e3..eb0e43c0c 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -49,7 +49,7 @@ static void RunThread(Core::System& system, VideoCore::RendererBase& renderer,
} else if (auto* command_list = std::get_if<SubmitChCommandEntries>(&next.data)) {
// NVDEC
cdma_pusher.ProcessEntries(std::move(command_list->entries));
- } else if (const auto data = std::get_if<SwapBuffersCommand>(&next.data)) {
+ } else if (const auto* data = std::get_if<SwapBuffersCommand>(&next.data)) {
renderer.SwapBuffers(data->framebuffer ? &*data->framebuffer : nullptr);
} else if (std::holds_alternative<OnCommandListEndCommand>(next.data)) {
rasterizer->ReleaseFences();