summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-16 01:02:57 +0200
committerLioncash <mathew1800@gmail.com>2019-10-16 01:02:59 +0200
commit4f16ce9294f8f77ecfcec35967e6f50caafdea0c (patch)
tree859ab75f93740746b3e194ea6d8afc21507909be /src
parentgl_shader_decompiler: Use a std::string_view with GetDeclarationWithSuffix() (diff)
downloadyuzu-4f16ce9294f8f77ecfcec35967e6f50caafdea0c.tar
yuzu-4f16ce9294f8f77ecfcec35967e6f50caafdea0c.tar.gz
yuzu-4f16ce9294f8f77ecfcec35967e6f50caafdea0c.tar.bz2
yuzu-4f16ce9294f8f77ecfcec35967e6f50caafdea0c.tar.lz
yuzu-4f16ce9294f8f77ecfcec35967e6f50caafdea0c.tar.xz
yuzu-4f16ce9294f8f77ecfcec35967e6f50caafdea0c.tar.zst
yuzu-4f16ce9294f8f77ecfcec35967e6f50caafdea0c.zip
Diffstat (limited to 'src')
-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 2c50ed538..a3524a6a9 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -2335,7 +2335,7 @@ public:
inner += expr.value ? "true" : "false";
}
- std::string& GetResult() {
+ const std::string& GetResult() const {
return inner;
}