summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c5be094)
raw | patch | inline | side by side (parent: c5be094)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Thu, 19 Mar 2020 17:27:59 +0000 (20:27 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Thu, 19 Mar 2020 17:27:59 +0000 (20:27 +0300) |
src/gl/render.c | patch | blob | history |
diff --git a/src/gl/render.c b/src/gl/render.c
index e9dc5b5addb443537778fc50ed596e4a0f05244b..c1260da8f3f8aebbcb67b00d299922a6d606e6b9 100644 (file)
--- a/src/gl/render.c
+++ b/src/gl/render.c
#include "view.h"
#include "switch.h" // sw_secrets
-#include <OpenGL/GL.h>
+#ifdef __APPLE__
+# include <OpenGL/gl.h>
+#else
+# include <GL/gl.h>
+#endif
#include <stdlib.h> // malloc free abs
#include <assert.h> // assert
#include <SDL.h>
s[4] = '0' + sky;
R_gl_free_image(&horiz);
horiz = R_gl_loadimage(s);
-}
\ No newline at end of file
+}