summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-10 00:39:18 +0200
committerLioncash <mathew1800@gmail.com>2019-05-10 00:39:21 +0200
commitba165b10926de0e5f4280c621dae87e30ce29c97 (patch)
tree1e3913cb375befcec7714c5bd79857333058ea4b /src
parentvideo_core/textures/astc: Remove unused variables (diff)
downloadyuzu-ba165b10926de0e5f4280c621dae87e30ce29c97.tar
yuzu-ba165b10926de0e5f4280c621dae87e30ce29c97.tar.gz
yuzu-ba165b10926de0e5f4280c621dae87e30ce29c97.tar.bz2
yuzu-ba165b10926de0e5f4280c621dae87e30ce29c97.tar.lz
yuzu-ba165b10926de0e5f4280c621dae87e30ce29c97.tar.xz
yuzu-ba165b10926de0e5f4280c621dae87e30ce29c97.tar.zst
yuzu-ba165b10926de0e5f4280c621dae87e30ce29c97.zip
Diffstat (limited to 'src')
-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 c9a2077de..03856013f 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -44,7 +44,7 @@ static void RunThread(VideoCore::RendererBase& renderer, Tegra::DmaPusher& dma_p
renderer.Rasterizer().FlushRegion(data->addr, data->size);
} else if (const auto data = std::get_if<InvalidateRegionCommand>(&next.data)) {
renderer.Rasterizer().InvalidateRegion(data->addr, data->size);
- } else if (const auto data = std::get_if<EndProcessingCommand>(&next.data)) {
+ } else if (std::holds_alternative<EndProcessingCommand>(next.data)) {
return;
} else {
UNREACHABLE();