summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-16 00:25:45 +0200
committerLioncash <mathew1800@gmail.com>2019-10-16 00:25:48 +0200
commitd1d7ce74d2e175d18c9eb385e202bca98cba08cd (patch)
tree35e8538c26a76ce8c15bfdef9954e0e6f56e7298 /src/video_core
parentshader/node: std::move Meta instance within OperationNode constructor (diff)
downloadyuzu-d1d7ce74d2e175d18c9eb385e202bca98cba08cd.tar
yuzu-d1d7ce74d2e175d18c9eb385e202bca98cba08cd.tar.gz
yuzu-d1d7ce74d2e175d18c9eb385e202bca98cba08cd.tar.bz2
yuzu-d1d7ce74d2e175d18c9eb385e202bca98cba08cd.tar.lz
yuzu-d1d7ce74d2e175d18c9eb385e202bca98cba08cd.tar.xz
yuzu-d1d7ce74d2e175d18c9eb385e202bca98cba08cd.tar.zst
yuzu-d1d7ce74d2e175d18c9eb385e202bca98cba08cd.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index 3bd3d2244..970cd0c76 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1148,7 +1148,7 @@ private:
for (const auto& variant : extras) {
if (const auto argument = std::get_if<TextureArgument>(&variant)) {
expr += GenerateTextureArgument(*argument);
- } else if (std::get_if<TextureAoffi>(&variant)) {
+ } else if (std::holds_alternative<TextureAoffi>(variant)) {
expr += GenerateTextureAoffi(meta->aoffi);
} else {
UNREACHABLE();