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/BlenderRoutines | |
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/BlenderRoutines')
-rw-r--r-- | source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp | 4 | ||||
-rw-r--r-- | source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp index 028dcbe4601..4dbddaf2d62 100644 --- a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp +++ b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp @@ -42,6 +42,10 @@ #pragma warning (disable:4786) #endif +#ifdef __APPLE__ +#define GL_GLEXT_LEGACY 1 +#endif + #include "KX_BlenderGL.h" #include "KX_BlenderCanvas.h" #include "KX_BlenderKeyboardDevice.h" diff --git a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp index a100c3aaa0a..8f93ad1a0aa 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp +++ b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp @@ -36,6 +36,7 @@ #include <windows.h> #endif //WIN32 #ifdef __APPLE__ +#define GL_GLEXT_LEGACY 1 #include <OpenGL/gl.h> #else #include <GL/gl.h> |