bool ShaderProgramGL::use() const
{
- if(!is_linked) { //&& !link()) {
+ if(!is_linked) {
return false;
}
return;
}
- glUniformMatrix4fv(location, 1, GL_TRUE, (float *)&mat.m[0][0]);
+ glUniformMatrix4fv(location, 1, GL_FALSE, mat[0]);
}
\ No newline at end of file