Fix another Apple conflict in SDL_opengl.h
This commit is contained in:
parent
0daed19a0e
commit
3d9a685099
1 changed files with 5 additions and 0 deletions
|
@ -5105,9 +5105,14 @@ typedef char GLchar;
|
||||||
|
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
/* GL types for handling large vertex buffer objects */
|
/* GL types for handling large vertex buffer objects */
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
typedef long GLintptr;
|
||||||
|
typedef long GLsizeiptr;
|
||||||
|
#else
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
#ifndef GL_ARB_vertex_buffer_object
|
||||||
/* GL types for handling large vertex buffer objects */
|
/* GL types for handling large vertex buffer objects */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue