diff options
author | Sam Lantinga <slouken@libsdl.org> | 2014-08-18 18:17:03 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2014-08-18 18:17:03 -0700 |
commit | 14b27720914ca0b349206e7bfe064306bea1e8c7 (patch) | |
tree | 04c9e0499c8b57eef8559a7bf8fb0e0383430908 /include/SDL_opengl_glext.h | |
parent | 07bcbc26e72be3c1d7501016bbd44fc79bad60b7 (diff) |
Fixed Mac OS X build
Diffstat (limited to 'include/SDL_opengl_glext.h')
-rw-r--r-- | include/SDL_opengl_glext.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/SDL_opengl_glext.h b/include/SDL_opengl_glext.h index d520a8acd2..d59fc090d6 100644 --- a/include/SDL_opengl_glext.h +++ b/include/SDL_opengl_glext.h @@ -465,8 +465,13 @@ GLAPI void APIENTRY glBlendEquation (GLenum mode); #ifndef GL_VERSION_1_5 #define GL_VERSION_1_5 1 #include <stddef.h> +#ifdef __MACOSX__ +typedef ssize_t GLsizeiptr; +typedef ssize_t GLintptr; +#else typedef ptrdiff_t GLsizeiptr; typedef ptrdiff_t GLintptr; +#endif #define GL_BUFFER_SIZE 0x8764 #define GL_BUFFER_USAGE 0x8765 #define GL_QUERY_COUNTER_BITS 0x8864 |