mirror of
https://github.com/edubart/otclient.git
synced 2025-11-04 20:46:24 +01:00
doc and luabinder changes
This commit is contained in:
@@ -89,7 +89,7 @@ bool Shader::compileSourceFile(const std::string& sourceFile)
|
||||
std::string Shader::log()
|
||||
{
|
||||
std::string infoLog;
|
||||
GLint infoLogLength = 0;
|
||||
int infoLogLength = 0;
|
||||
glGetShaderiv(m_shaderId, GL_INFO_LOG_LENGTH, &infoLogLength);
|
||||
if(infoLogLength > 1) {
|
||||
std::vector<char> buf(infoLogLength);
|
||||
|
||||
Reference in New Issue
Block a user