summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_arb_decompiler.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-06-23 15:59:56 +0200
committerLioncash <mathew1800@gmail.com>2021-06-23 19:48:21 +0200
commitd0b1f2bd05a2fcadbb4c148be2105e337dd986e8 (patch)
tree17e7abb608ab936ae6696e0507c9d1441256c66a /src/video_core/renderer_opengl/gl_arb_decompiler.cpp
parentexternals: Update dynarmic to allow fmt compilation to succeed (diff)
downloadyuzu-d0b1f2bd05a2fcadbb4c148be2105e337dd986e8.tar
yuzu-d0b1f2bd05a2fcadbb4c148be2105e337dd986e8.tar.gz
yuzu-d0b1f2bd05a2fcadbb4c148be2105e337dd986e8.tar.bz2
yuzu-d0b1f2bd05a2fcadbb4c148be2105e337dd986e8.tar.lz
yuzu-d0b1f2bd05a2fcadbb4c148be2105e337dd986e8.tar.xz
yuzu-d0b1f2bd05a2fcadbb4c148be2105e337dd986e8.tar.zst
yuzu-d0b1f2bd05a2fcadbb4c148be2105e337dd986e8.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_arb_decompiler.cpp')
-rw-r--r--src/video_core/renderer_opengl/gl_arb_decompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_arb_decompiler.cpp b/src/video_core/renderer_opengl/gl_arb_decompiler.cpp
index 3e4d88c30..e8d8d2aa5 100644
--- a/src/video_core/renderer_opengl/gl_arb_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_arb_decompiler.cpp
@@ -454,7 +454,7 @@ private:
template <typename... Args>
void AddExpression(std::string_view text, Args&&... args) {
- shader_source += fmt::format(text, std::forward<Args>(args)...);
+ shader_source += fmt::format(fmt::runtime(text), std::forward<Args>(args)...);
}
template <typename... Args>