diff options
author | Stefan Gartner <stefang@aon.at> | 2003-01-07 03:18:59 +0300 |
---|---|---|
committer | Stefan Gartner <stefang@aon.at> | 2003-01-07 03:18:59 +0300 |
commit | 3531f874e0a4168d15f5d321a85f86ba3a37bfac (patch) | |
tree | 504f15190d2e2643e5ecaed7077b5cb2ee928eb0 /source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp | |
parent | 3a0c7e4a8a734578778979194757bd134dd01731 (diff) |
added a buch of
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
(also for <GL/glu.h>)
so that people don't have to create symlinks in
/System/Library/Frameworks/OpenGL.framework on Mac OS X
(Charles Wardlaw)
Diffstat (limited to 'source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp')
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp index 2741ba048c8..b43dfee60a0 100644 --- a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp +++ b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp @@ -67,8 +67,13 @@ #ifdef WIN32 #include <windows.h> #endif // WIN32 -#include "GL/gl.h" -#include "GL/glu.h" +#ifdef __APPLE__ +#include <OpenGL/gl.h> +#include <OpenGL/glu.h> +#else +#include <GL/gl.h> +#include <GL/glu.h> +#endif static Image *fCurpage=0; static int fCurtile=0, fCurmode=0, fCurTileXRep=0, fCurTileYRep=0; |