mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
Fixed the Apple SDL_opengl.h conflict in the 1.2 branch.
--HG-- branch : SDL-1.2
This commit is contained in:
@@ -3108,9 +3108,14 @@ typedef char GLchar; /* native character */
|
||||
|
||||
#ifndef GL_VERSION_1_5
|
||||
/* GL types for handling large vertex buffer objects */
|
||||
#ifdef __APPLE__
|
||||
typedef long GLintptr;
|
||||
typedef long GLsizeiptr;
|
||||
#else
|
||||
typedef ptrdiff_t GLintptr;
|
||||
typedef ptrdiff_t GLsizeiptr;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef GL_ARB_vertex_buffer_object
|
||||
/* GL types for handling large vertex buffer objects */
|
||||
|
||||
Reference in New Issue
Block a user