summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 bd0c5c5d6..2c50ed538 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -2246,7 +2246,7 @@ private:
2246 code.AddLine("#ifdef SAMPLER_{}_IS_BUFFER", sampler.GetIndex()); 2246 code.AddLine("#ifdef SAMPLER_{}_IS_BUFFER", sampler.GetIndex());
2247 } 2247 }
2248 2248
2249 std::string GetDeclarationWithSuffix(u32 index, const std::string& name) const { 2249 std::string GetDeclarationWithSuffix(u32 index, std::string_view name) const {
2250 return fmt::format("{}_{}_{}", name, index, suffix); 2250 return fmt::format("{}_{}_{}", name, index, suffix);
2251 } 2251 }
2252 2252