opengl: fix type cast

This commit is contained in:
Recep Aslantas
2016-09-21 18:36:01 +03:00
parent f5a290364b
commit e6ba9d6ab0

View File

@@ -13,7 +13,7 @@
CGLM_INLINE
void
glm_mat4_uniform(mat4 m, GLint location){
glUniformMatrix4fv(location, 1, GL_FALSE, (GLfloat *)m);
glUniformMatrix4fv(location, 1, GL_FALSE, m[0]);
}
#endif /* cglm_mat_opengl_h */