diff --git a/include/cglm-opengl.h b/include/cglm-opengl.h index c1aa863..ecb42db 100644 --- a/include/cglm-opengl.h +++ b/include/cglm-opengl.h @@ -8,8 +8,26 @@ #ifndef cglm_mat_opengl_h #define cglm_mat_opengl_h +#ifdef __APPLE__ +# include +#else +# ifdef _WIN32 +# include +# endif +# include +#endif + #include "cglm.h" +#ifdef _WIN32 +extern +void +glUniformMatrix4fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +#endif + CGLM_INLINE void glm_mat4_uniform(mat4 m, GLint location){