summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/fboinfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/fboinfo.h b/src/resources/fboinfo.h
index 1427b05af..c97e4eee8 100644
--- a/src/resources/fboinfo.h
+++ b/src/resources/fboinfo.h
@@ -30,9 +30,11 @@
#include <GLES/glext.h>
#else
#include <SDL_opengl.h>
-#ifndef __native_client__
+#if defined(__APPLE__)
+#include <OpenGL/glext.h>
+#elif !defined(__native_client__)
#include <GL/glext.h>
-#endif
+#endif // defined(__APPLE__)
#endif
struct FBOInfo final