mirror of
https://github.com/recp/cglm.git
synced 2026-01-22 17:28:31 +00:00
opengl: fix type cast
This commit is contained in:
@@ -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