move platform specific functions to platform header

This commit is contained in:
Recep Aslantas
2016-10-09 17:57:55 +03:00
parent 1f12adbfae
commit a6f96de292
3 changed files with 24 additions and 5 deletions

View File

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