fix blur rendertask

This commit is contained in:
2020-10-01 23:01:45 +02:00
parent 95d1530c6d
commit 3c3afb1fcc
5 changed files with 148 additions and 50 deletions

View File

@ -108,7 +108,7 @@ uint32_t Shader::compile(uint32_t type, const std::string& source) {
glGetShaderiv(id, GL_INFO_LOG_LENGTH, &length);
char* msg = (char*) alloca(length * sizeof(char));
glGetShaderInfoLog(id, length, &length, msg);
LOG_ERROR("failed to compile {} Shader: {}", type == GL_VERTEX_SHADER ? "vertex" : "fragment", msg);
LOG_ERROR("failed to compile {} Shader: {}\n source: {}", type == GL_VERTEX_SHADER ? "vertex" : "fragment", msg, source);
return 0;
}