Fix compilation on apple
This commit is contained in:
parent
bc8a8d83fc
commit
4e8ade53d8
@ -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;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user