mirror of
https://github.com/recp/cglm.git
synced 2026-11-21 02:43:09 -06:00
opengl: fix type cast
This commit is contained in:
1 parent
f5a290364b
commit
e6ba9d6ab0
1 file changed
+1
-1
@@ -13,7 +13,7 @@
|
|||||||
CGLM_INLINE
|
CGLM_INLINE
|
||||||
void
|
void
|
||||||
glm_mat4_uniform(mat4 m, GLint location){
|
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 */
|
#endif /* cglm_mat_opengl_h */
|
||||||
Reference in new issue
Block a user