]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Graphic/gamegl.hpp
Update copyright year to 2017
[lugaru.git] / Source / Graphic / gamegl.hpp
index 0b5f69380d50b90d2f9a0b77c0784574ebf7325d..706c2b9eb86e88f399a559a2794ecd99e7b42088 100644 (file)
@@ -1,6 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
-Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -21,7 +21,7 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #ifndef _GAMEGL_HPP_
 #define _GAMEGL_HPP_
 
-#include "MacCompatibility.hpp"
+#include "Platform/Platform.hpp"
 
 #include <algorithm>
 #include <cstring>
@@ -38,9 +38,15 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #endif
 
 #define GL_GLEXT_PROTOTYPES 1
-#include <GL/gl.h>
-#include <GL/glu.h>
-#include <GL/glext.h>
+#ifdef __APPLE__
+  #include <OpenGL/gl.h>
+  #include <OpenGL/glu.h>
+  #include <OpenGL/glext.h>
+#else
+  #include <GL/gl.h>
+  #include <GL/glu.h>
+  #include <GL/glext.h>
+#endif
 
 using namespace std;