some fixes for OSX

This commit is contained in:
ac-stef
2016-09-08 22:36:46 +02:00
parent 123e2b2b12
commit 588e9f9de8
4 changed files with 7 additions and 3 deletions
+4 -2
View File
@@ -3053,17 +3053,19 @@ typedef ptrdiff_t GLintptr;
typedef ptrdiff_t GLsizeiptr;
#endif
#ifndef GL_ARB_vertex_buffer_object
#if !defined(GL_ARB_vertex_buffer_object) && !defined(__APPLE__)
/* GL types for handling large vertex buffer objects */
typedef ptrdiff_t GLintptrARB;
typedef ptrdiff_t GLsizeiptrARB;
#endif
#ifndef GL_ARB_shader_objects
#ifndef GL_ARB_shader
/* GL types for handling shader object handles and program/shader text */
typedef char GLcharARB; /* native character */
#ifndef __APPLE__
typedef unsigned int GLhandleARB; /* shader object handle */
#endif
#endif
/* GL types for "half" precision (s10e5) float data in host memory */
#ifndef GL_ARB_half_float_pixel