mirror of
				https://github.com/Perlmint/glew-cmake.git
				synced 2025-11-03 22:04:16 +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