X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGraphic%2Fgamegl.hpp;h=b824a438dc0d1e7686a72d099ffe359f9a40d681;hb=6a8cb464330e92163c8feaf101b8b5837c973bba;hp=0b5f69380d50b90d2f9a0b77c0784574ebf7325d;hpb=ed3662c0852c4312a612b4fc35bd03aba8d13db7;p=lugaru.git diff --git a/Source/Graphic/gamegl.hpp b/Source/Graphic/gamegl.hpp index 0b5f693..b824a43 100644 --- a/Source/Graphic/gamegl.hpp +++ b/Source/Graphic/gamegl.hpp @@ -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 . #ifndef _GAMEGL_HPP_ #define _GAMEGL_HPP_ -#include "MacCompatibility.hpp" +#include "Platform/Platform.hpp" #include #include @@ -31,23 +31,27 @@ along with Lugaru. If not, see . #include #ifdef WIN32 - #define WIN32_LEAN_AND_MEAN - #define Polygon WinPolygon - #include - #undef Polygon +#define WIN32_LEAN_AND_MEAN +#define Polygon WinPolygon +#include +#undef Polygon #endif #define GL_GLEXT_PROTOTYPES 1 +#ifdef __APPLE__ +#include +#include +#include +#else #include -#include #include +#include +#endif using namespace std; /* !!! FIXME: until we replace logger better. --ryan. */ #define LOGFUNC -void LOG(const std::string &fmt, ...); +void LOG(const std::string& fmt, ...); #endif - -