mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-29 17:17:07 +00:00
Fix for Apple OSX - GLint is always 32 bit\nReviewed by Milan Ikits, Stephane Denis
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@540 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
60e7e8d349
commit
faa9d69709
@ -143,19 +143,11 @@ extern "C" {
|
|||||||
#ifndef GL_VERSION_1_1
|
#ifndef GL_VERSION_1_1
|
||||||
#define GL_VERSION_1_1 1
|
#define GL_VERSION_1_1 1
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
|
||||||
typedef unsigned long GLenum;
|
|
||||||
typedef unsigned long GLbitfield;
|
|
||||||
typedef unsigned long GLuint;
|
|
||||||
typedef long GLint;
|
|
||||||
typedef long GLsizei;
|
|
||||||
#else
|
|
||||||
typedef unsigned int GLenum;
|
typedef unsigned int GLenum;
|
||||||
typedef unsigned int GLbitfield;
|
typedef unsigned int GLbitfield;
|
||||||
typedef unsigned int GLuint;
|
typedef unsigned int GLuint;
|
||||||
typedef int GLint;
|
typedef int GLint;
|
||||||
typedef int GLsizei;
|
typedef int GLsizei;
|
||||||
#endif
|
|
||||||
typedef unsigned char GLboolean;
|
typedef unsigned char GLboolean;
|
||||||
typedef signed char GLbyte;
|
typedef signed char GLbyte;
|
||||||
typedef short GLshort;
|
typedef short GLshort;
|
||||||
|
Loading…
Reference in New Issue
Block a user