source/Graphics/Shader.cpp: minor fix.
This commit is contained in:
parent
f3a3a6aa4d
commit
87a59ef21f
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue