Skip to content

Commit

Permalink
Fixed Mac OS X build
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 19, 2014
1 parent bbab385 commit 4b8f753
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/SDL_opengl_glext.h
Expand Up @@ -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
Expand Down

0 comments on commit 4b8f753

Please sign in to comment.