1
0
Fork 0

source/Graphics/Shader.cpp: minor fix.

This commit is contained in:
Henrik Hautakoski 2019-05-31 20:19:00 +02:00
parent f3a3a6aa4d
commit 87a59ef21f

View file

@ -92,7 +92,7 @@ bool Shader::compile()
std::string Shader::fetchErrorLog() std::string Shader::fetchErrorLog()
{ {
GLchar buf[4096] = { '\0 ' }; GLchar buf[4096] = { '\0' };
glGetShaderInfoLog(m_handle, sizeof(buf), NULL, buf); glGetShaderInfoLog(m_handle, sizeof(buf), NULL, buf);