Fix compilation on apple

This commit is contained in:
Kovid Goyal 2017-09-12 12:29:36 +05:30
parent bc8a8d83fc
commit 4e8ade53d8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -396,12 +396,9 @@ typedef struct {
static SpriteMap sprite_map = { .xnum = 1, .ynum = 1, .last_num_of_layers = 1, .last_ynum = -1, .texture_unit = GL_TEXTURE0 }; static SpriteMap sprite_map = { .xnum = 1, .ynum = 1, .last_num_of_layers = 1, .last_ynum = -1, .texture_unit = GL_TEXTURE0 };
#ifdef __APPLE__ #ifdef __APPLE__
#ifdef glCopyImageSubData #define glCopyImageSubData(...)
#define GLEW_ARB_copy_image true
#else
#define GLEW_ARB_copy_image false #define GLEW_ARB_copy_image false
#endif #endif
#endif
static bool copy_image_warned = false; static bool copy_image_warned = false;