String can be printed directly

This commit is contained in:
Riyyi
2021-03-08 23:12:58 +01:00
parent 571403c9a2
commit 0522f6f388
+1 -1
View File
@@ -44,7 +44,7 @@ namespace Inferno {
int32_t Shader::findUniform(const std::string& name) const
{
int32_t location = glGetUniformLocation(m_id, name.c_str());
ASSERT(location != -1, "Shader could not find uniform '{}'", name.c_str());
ASSERT(location != -1, "Shader could not find uniform '{}'", name);
return location;
}