Split error macro into two versions (format vs non-formating) to allow format checking at compile-time
This commit is contained in:
@@ -251,7 +251,7 @@ int main(int argc, char* argv[])
|
||||
std::shared_ptr<Nz::Mesh> spaceshipMesh = fs.Load<Nz::Mesh>("assets/Spaceship/spaceship.obj", meshParams);
|
||||
if (!spaceshipMesh)
|
||||
{
|
||||
NazaraError("Failed to load model");
|
||||
NazaraError("failed to load model");
|
||||
return __LINE__;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user