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