- fix compile error

This commit is contained in:
Magnus Norddahl 2018-11-21 10:46:13 +01:00
parent dd42557e69
commit 48fd91227c

View file

@ -121,7 +121,7 @@ void FShaderProgram::CompileShader(ShaderType type)
glGetShaderiv(handle, GL_COMPILE_STATUS, &status);
if (status == GL_FALSE)
{
I_FatalError("Compile Shader '%s':\n%s\n", mShaderNames[type], GetShaderInfoLog(handle).GetChars());
I_FatalError("Compile Shader '%s':\n%s\n", mShaderNames[type].GetChars(), GetShaderInfoLog(handle).GetChars());
}
else
{