mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
opengl: fix type cast
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user