Fix compilation on apple
This commit is contained in:
parent
bc8a8d83fc
commit
4e8ade53d8
1 changed files with 1 additions and 4 deletions
|
|
@ -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 };
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifdef glCopyImageSubData
|
||||
#define GLEW_ARB_copy_image true
|
||||
#else
|
||||
#define glCopyImageSubData(...)
|
||||
#define GLEW_ARB_copy_image false
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static bool copy_image_warned = false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue