Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed another Apple typedef in SDL_opengl.h
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 2, 2011
1 parent 7923204 commit 93677ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/SDL_opengl.h
Expand Up @@ -5116,9 +5116,14 @@ typedef ptrdiff_t GLsizeiptr;

#ifndef GL_ARB_vertex_buffer_object
/* GL types for handling large vertex buffer objects */
#if defined(__APPLE__)
typedef long GLintptrARB;
typedef long GLsizeiptrARB;
#else
typedef ptrdiff_t GLintptrARB;
typedef ptrdiff_t GLsizeiptrARB;
#endif
#endif

#ifndef GL_ARB_shader_objects
/* GL types for program/shader text and shader object handles */
Expand Down

0 comments on commit 93677ce

Please sign in to comment.