summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.h
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/TextureCacheBase.h
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/TextureCacheBase.h')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h
index 692aab4916..daf7e292d1 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.h
+++ b/Source/Core/VideoCommon/TextureCacheBase.h
@@ -77,15 +77,16 @@ struct fmt::formatter<EFBCopyParams>
{
constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }
template <typename FormatContext>
- auto format(const EFBCopyParams& uid, FormatContext& ctx)
+ auto format(const EFBCopyParams& uid, FormatContext& ctx) const
{
std::string copy_format;
if (uid.copy_format == EFBCopyFormat::XFB)
copy_format = "XFB";
else
copy_format = fmt::to_string(uid.copy_format);
- return format_to(ctx.out(), "format: {}, copy format: {}, depth: {}, yuv: {}, copy filter: {}",
- uid.efb_format, copy_format, uid.depth, uid.yuv, uid.copy_filter);
+ return fmt::format_to(ctx.out(),
+ "format: {}, copy format: {}, depth: {}, yuv: {}, copy filter: {}",
+ uid.efb_format, copy_format, uid.depth, uid.yuv, uid.copy_filter);
}
};