From c3e9d57379fa5ae447a4ad020a9e4910cdab2849 Mon Sep 17 00:00:00 2001 From: Godzil Date: Wed, 31 Jan 2018 10:35:59 +0000 Subject: [PATCH] Make OSX build work again (Stupid GL_* things...) --- src/os/unix/graphics.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/os/unix/graphics.c b/src/os/unix/graphics.c index ddf5fc2..66a627d 100644 --- a/src/os/unix/graphics.c +++ b/src/os/unix/graphics.c @@ -21,6 +21,11 @@ #define GLFW_INCLUDE_GLEXT #include +/* "Apple" fix */ +#ifndef GL_TEXTURE_RECTANGLE +#define GL_TEXTURE_RECTANGLE GL_TEXTURE_RECTANGLE_EXT +#endif + #include typedef struct GLWindow_t GLWindow;