summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2022-05-13 22:09:01 +0100
committerGitHub <noreply@github.com>2022-05-13 22:09:01 +0100
commitfcb3f9e35ba0f4177937f43dc869a2e461e32da7 (patch)
tree66fb180f6b782604def661105df2482fe70a212e /Source/Core/VideoCommon
parent27c6731a660fb301ec43db31b87d69ae6e66568a (diff)
parent7b8e6c5b3643bb3ec09de3be5598d5e35caa3986 (diff)
Merge pull request #10652 from shuffle2/fmt
update fmt and fix warnings that popped up with vs 17.2
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/BPMemory.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/BPMemory.h b/Source/Core/VideoCommon/BPMemory.h
index 4729e06be5..28155a2cd6 100644
--- a/Source/Core/VideoCommon/BPMemory.h
+++ b/Source/Core/VideoCommon/BPMemory.h
@@ -1231,10 +1231,10 @@ struct fmt::formatter<ScissorPos>
template <typename FormatContext>
auto format(const ScissorPos& pos, FormatContext& ctx)
{
- return format_to(ctx.out(),
- "X: {} (raw: {})\n"
- "Y: {} (raw: {})",
- pos.x - 342, pos.x_full, pos.y - 342, pos.y_full);
+ return fmt::format_to(ctx.out(),
+ "X: {} (raw: {})\n"
+ "Y: {} (raw: {})",
+ pos.x - 342, pos.x_full, pos.y - 342, pos.y_full);
}
};
@@ -1257,10 +1257,10 @@ struct fmt::formatter<ScissorOffset>
template <typename FormatContext>
auto format(const ScissorOffset& off, FormatContext& ctx)
{
- return format_to(ctx.out(),
- "X: {} (raw: {})\n"
- "Y: {} (raw: {})",
- (off.x << 1) - 342, off.x_full, (off.y << 1) - 342, off.y_full);
+ return fmt::format_to(ctx.out(),
+ "X: {} (raw: {})\n"
+ "Y: {} (raw: {})",
+ (off.x << 1) - 342, off.x_full, (off.y << 1) - 342, off.y_full);
}
};