use of loge
This commit is contained in:
@@ -126,9 +126,9 @@ unsigned int ShaderProgram::LoadShader(const std::string& source, GLenum type) {
|
||||
std::vector<char> shaderError(static_cast<std::size_t>(size));
|
||||
glGetShaderInfoLog(shaderID, size, &size, shaderError.data());
|
||||
|
||||
utils::LOG("Could not compile shader !");
|
||||
|
||||
utils::LOG(shaderError.data());
|
||||
utils::LOGE("Could not compile shader !");
|
||||
|
||||
utils::LOGE(shaderError.data());
|
||||
}
|
||||
return shaderID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user