mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Fixed building as a universal binary on OS X (resolves issue #793)
This commit is contained in:
@@ -1056,9 +1056,15 @@ GLEE_EXTERN GLboolean _GLEE_SGIX_igloo_interface;
|
||||
#endif
|
||||
|
||||
#ifndef GL_ARB_vertex_buffer_object
|
||||
/* awful hack to work around issue with GLee and Mac OS 10.9's gltypes.h */
|
||||
#if defined(__APPLE__)
|
||||
typedef long GLintptrARB;
|
||||
typedef long GLsizeiptrARB;
|
||||
#else
|
||||
typedef ptrdiff_t GLintptrARB;
|
||||
typedef ptrdiff_t GLsizeiptrARB;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef GL_ARB_shader_objects
|
||||
#if defined(__APPLE__)
|
||||
|
||||
Reference in New Issue
Block a user