diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-16 00:29:35 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-16 00:29:37 +0200 |
commit | b8a62adcf1034535353b4a1486a51a5775d209b5 (patch) | |
tree | 3d126d92aeda02726e2e78dc6192e74bc23871e1 | |
parent | gl_shader_decompiler: Use std::holds_alternative within GenerateTexture() (diff) | |
download | yuzu-b8a62adcf1034535353b4a1486a51a5775d209b5.tar yuzu-b8a62adcf1034535353b4a1486a51a5775d209b5.tar.gz yuzu-b8a62adcf1034535353b4a1486a51a5775d209b5.tar.bz2 yuzu-b8a62adcf1034535353b4a1486a51a5775d209b5.tar.lz yuzu-b8a62adcf1034535353b4a1486a51a5775d209b5.tar.xz yuzu-b8a62adcf1034535353b4a1486a51a5775d209b5.tar.zst yuzu-b8a62adcf1034535353b4a1486a51a5775d209b5.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 970cd0c76..82228b55d 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -1158,8 +1158,8 @@ private: return expr + ')'; } - std::string GenerateTextureArgument(TextureArgument argument) { - const auto [type, operand] = argument; + std::string GenerateTextureArgument(const TextureArgument& argument) { + const auto& [type, operand] = argument; if (operand == nullptr) { return {}; } |