From: DeaDDooMER Date: Thu, 19 Mar 2020 17:27:59 +0000 (+0300) Subject: opengl: fix building on non osx X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=commitdiff_plain;h=9fc47db9cfdb6b22e390e5cd0a57498336a70cc6 opengl: fix building on non osx --- diff --git a/src/gl/render.c b/src/gl/render.c index e9dc5b5..c1260da 100644 --- a/src/gl/render.c +++ b/src/gl/render.c @@ -21,7 +21,11 @@ #include "view.h" #include "switch.h" // sw_secrets -#include +#ifdef __APPLE__ +# include +#else +# include +#endif #include // malloc free abs #include // assert #include @@ -1723,4 +1727,4 @@ void R_loadsky (int sky) { s[4] = '0' + sky; R_gl_free_image(&horiz); horiz = R_gl_loadimage(s); -} \ No newline at end of file +}