Browse Source

String can be printed directly

master
Riyyi 4 years ago
parent
commit
0522f6f388
  1. 2
      inferno/src/inferno/render/shader.cpp

2
inferno/src/inferno/render/shader.cpp

@ -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;
}

Loading…
Cancel
Save