mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Common/Assert: Switch to fmt
This commit is contained in:
parent
1c0ca09e6f
commit
44e93e91d7
27 changed files with 234 additions and 237 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue