Split error macro into two versions (format vs non-formating) to allow format checking at compile-time
This commit is contained in:
@@ -78,7 +78,7 @@ namespace Nz
|
||||
|
||||
if (ALenum lastError = m_library.alGetError(); lastError != AL_NO_ERROR)
|
||||
{
|
||||
NazaraError("failed to reset OpenAL buffer: {0}", std::to_string(lastError));
|
||||
NazaraErrorFmt("failed to reset OpenAL buffer: {0}", std::to_string(lastError));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user