From 48fd91227c75049cf393fe6568ddde9d58d733f8 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Wed, 21 Nov 2018 10:46:13 +0100 Subject: [PATCH] - fix compile error --- src/gl/shaders/gl_shaderprogram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/shaders/gl_shaderprogram.cpp b/src/gl/shaders/gl_shaderprogram.cpp index 684fcd852..126817b59 100644 --- a/src/gl/shaders/gl_shaderprogram.cpp +++ b/src/gl/shaders/gl_shaderprogram.cpp @@ -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 {