summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-11-10 14:42:49 -0800
committerPokechu22 <Pokechu022@gmail.com>2022-01-09 12:43:11 -0800
commit44e93e91d7043ebad159c7f40a4473b294076066 (patch)
treeb27d15537c637e41e1c71052dfaf7339c0a607ae /Source/Core/VideoCommon/VertexLoader.cpp
parent1c0ca09e6f0d89ff7549165629271b294f04026c (diff)
Common/Assert: Switch to fmt
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp
index 69f669cd4c..b01ac961b9 100644
--- a/Source/Core/VideoCommon/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/VertexLoader.cpp
@@ -176,11 +176,11 @@ void VertexLoader::CompileVertexTranslator()
if (tc != VertexComponentFormat::NotPresent)
{
ASSERT_MSG(VIDEO, VertexComponentFormat::Direct <= tc && tc <= VertexComponentFormat::Index16,
- "Invalid texture coordinates!\n(tc = %d)", (u32)tc);
+ "Invalid texture coordinates!\n(tc = {})", tc);
ASSERT_MSG(VIDEO, ComponentFormat::UByte <= format && format <= ComponentFormat::Float,
- "Invalid texture coordinates format!\n(format = %d)", (u32)format);
+ "Invalid texture coordinates format!\n(format = {})", format);
ASSERT_MSG(VIDEO, elements == TexComponentCount::S || elements == TexComponentCount::ST,
- "Invalid number of texture coordinates elements!\n(elements = %d)", (u32)elements);
+ "Invalid number of texture coordinates elements!\n(elements = {})", elements);
WriteCall(VertexLoader_TextCoord::GetFunction(tc, format, elements));
}