This commit is contained in:
end 2016-09-29 02:55:04 +02:00
parent 1ee349e1fb
commit a86d4e5d92

View file

@ -50,6 +50,7 @@ namespace endofthejedi {
GLint result = 0;
glGetShaderiv(shader, GL_COMPILE_STATUS, &result);
if (result == GL_FALSE) {
glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &len);
char *error = (char *)malloc(len+1);