diff options
| author | JosJuice <josjuice@gmail.com> | 2022-01-20 21:14:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-20 21:14:41 +0100 |
| commit | 7b8e846d0ab1a95c4070c3d89e38180895e536c6 (patch) | |
| tree | 8ac4fee6c918e4586a333d808173d4b20ee24c5b /Source/Core/VideoCommon/TextureDecoder.h | |
| parent | 73bcf9c24bff56e562f120d2c1c02fb734e17dfd (diff) | |
| parent | fd04f4f32dcb322e3efa51400ed8638a8beb288f (diff) | |
Merge pull request #10367 from Pokechu22/fmt-8.1.1
Update to fmt 8.1.1
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureDecoder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder.h b/Source/Core/VideoCommon/TextureDecoder.h index fdab2dc412..a00e95d8f2 100644 --- a/Source/Core/VideoCommon/TextureDecoder.h +++ b/Source/Core/VideoCommon/TextureDecoder.h @@ -41,7 +41,7 @@ struct fmt::formatter<TextureFormat> : EnumFormatter<TextureFormat::CMPR> static constexpr array_type names = {"I4", "I8", "IA4", "IA8", "RGB565", "RGB5A3", "RGBA8", nullptr, "C4", "C8", "C14X2", nullptr, nullptr, nullptr, "CMPR"}; - formatter() : EnumFormatter(names) {} + constexpr formatter() : EnumFormatter(names) {} }; static inline bool IsColorIndexed(TextureFormat format) @@ -103,7 +103,7 @@ struct fmt::formatter<EFBCopyFormat> : EnumFormatter<EFBCopyFormat::GB8> "R8/I8/Z8H", "G8/Z8M", "B8/Z8L", "RG8/Z16R (Note: G and R are reversed)", "GB8/Z16L", }; - formatter() : EnumFormatter(names) {} + constexpr formatter() : EnumFormatter(names) {} }; enum class TLUTFormat @@ -116,7 +116,7 @@ enum class TLUTFormat template <> struct fmt::formatter<TLUTFormat> : EnumFormatter<TLUTFormat::RGB5A3> { - formatter() : EnumFormatter({"IA8", "RGB565", "RGB5A3"}) {} + constexpr formatter() : EnumFormatter({"IA8", "RGB565", "RGB5A3"}) {} }; static inline bool IsValidTLUTFormat(TLUTFormat tlutfmt) |
