use native types instead GL*

This commit is contained in:
Recep Aslantas
2016-10-09 18:08:59 +03:00
parent 2ebdfaeeaf
commit 3ffca7a733
2 changed files with 4 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ glm_ortho(float left,
CGLM_INLINE
void
glm_ortho_default(mat4 dest) {
GLint rect[4];
int32_t rect[4];
float aspectRatio;
glm_platfom_get_viewport_rect(rect);
@@ -93,7 +93,7 @@ glm_ortho_default(mat4 dest) {
CGLM_INLINE
void
glm_ortho_default_s(float size, mat4 dest) {
GLint rect[4];
int32_t rect[4];
float aspectRatio;
glm_platfom_get_viewport_rect(rect);
@@ -142,7 +142,7 @@ glm_perspective(float fovy,
CGLM_INLINE
void
glm_perspective_default(mat4 dest) {
GLint rect[4];
int32_t rect[4];
glm_platfom_get_viewport_rect(rect);
glm_perspective((float)M_PI_4,

View File

@@ -13,7 +13,7 @@
CGLM_INLINE
void
glm_mat4_uniform(mat4 m, GLint location){
glm_mat4_uniform(mat4 m, int32_t location){
glm_platform_uniform_mat4fv(location, m[0]);
}