summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-01-20 21:14:41 +0100
committerGitHub <noreply@github.com>2022-01-20 21:14:41 +0100
commit7b8e846d0ab1a95c4070c3d89e38180895e536c6 (patch)
tree8ac4fee6c918e4586a333d808173d4b20ee24c5b /Source/Core/VideoCommon/PixelShaderGen.cpp
parent73bcf9c24bff56e562f120d2c1c02fb734e17dfd (diff)
parentfd04f4f32dcb322e3efa51400ed8638a8beb288f (diff)
Merge pull request #10367 from Pokechu22/fmt-8.1.1
Update to fmt 8.1.1
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index 8aaba2e4e0..673c97ec9b 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -5,6 +5,7 @@
#include <cmath>
#include <cstdio>
+#include <fmt/format.h>
#include "Common/Assert.h"
#include "Common/CommonTypes.h"
@@ -1819,7 +1820,7 @@ static void WriteAlphaTest(ShaderCode& out, const pixel_shader_uid_data* uid_dat
if (has_no_arguments)
out.Write("{}", tev_alpha_funcs_table[mode]);
else
- out.Write(tev_alpha_funcs_table[mode], ref);
+ out.Write(fmt::runtime(tev_alpha_funcs_table[mode]), ref);
};
out.SetConstantsUsed(C_ALPHA, C_ALPHA);