mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
Fix compilation on apple
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user