add shader linking log

add shader linking log
This commit is contained in:
samael 2014-11-15 12:15:56 +08:00
parent a893cc9b30
commit 26b95d3dae
1 changed files with 9 additions and 0 deletions

View File

@ -319,6 +319,10 @@ void GLProgram::parseVertexAttribs()
}
}
}
else
{
getVertexShaderLog();
}
}
void GLProgram::parseUniforms()
@ -371,6 +375,11 @@ void GLProgram::parseUniforms()
}
}
}
else
{
getFragmentShaderLog();
}
}
Uniform* GLProgram::getUniform(const std::string &name)