diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2006-01-17 01:27:30 +0300 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2006-01-17 01:27:30 +0300 |
commit | 77c4eef90bf6a221838de64aa9aafbe95b30b264 (patch) | |
tree | bb570d1bef0def5cdd19dfb3771561387702e459 /source/gameengine/GamePlayer/common | |
parent | 4734a2db7edcd63f1f1d290584ee7f1032f68d4e (diff) |
after much suffering, got GE build and work almost cleanly on Os X
(with make, need to confirm with scons)
after cleaning the changes are in fact minimal, but the situation
is still quite a bit hackish.
Game engine coders, there is also quite a number of warnings that
need to be fixed.
current situation is that everything seems to work, but GLSL shaders
spew a lot of errors on console and blender may crash on exit when
a GLSL shader was used. ARB stuff works fine.
Diffstat (limited to 'source/gameengine/GamePlayer/common')
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp | 1 | ||||
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_RenderTools.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp index dc714fb5fb6..9cad9fcf932 100644 --- a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp +++ b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp @@ -38,6 +38,7 @@ #include <windows.h> #endif // WIN32 #ifdef __APPLE__ +#define GL_GLEXT_LEGACY 1 #include <OpenGL/gl.h> #include <OpenGL/glu.h> #else diff --git a/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp b/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp index 3d81046e8e9..9bc01e1408e 100644 --- a/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp +++ b/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp @@ -38,6 +38,7 @@ #endif #ifdef __APPLE__ +#define GL_GLEXT_LEGACY 1 #include <OpenGL/gl.h> #else #include <GL/gl.h> |