Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2007-12-05 19:58:52 +0300
committerKent Mein <mein@cs.umn.edu>2007-12-05 19:58:52 +0300
commit7b2e348d4f0252470f0ee484d812a264d5a86fc3 (patch)
treef45b343af1600761ff269dca18a7b0d4f3b2cdcc /source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp
parentb3c1e458b43d4014bc720c7eb20af5e02f6f5ab5 (diff)
This is a modified version of this patch:
[#7660] Solaris 10 x86 support (Makefiles) Hopefully it will not mess up anything for anyone else. I removed some hardcoded static libs and made NAN_*_LIB definitions so they could be overridden, to allow greater flexability. Let me know if there are any problems/questions. Kent
Diffstat (limited to 'source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp')
-rw-r--r--source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp
index 5b3c2c84edb..840230902f8 100644
--- a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp
+++ b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp
@@ -43,8 +43,12 @@
#include <OpenGL/glu.h>
#else
#include <GL/gl.h>
+#if defined(__sun__) && !defined(__sparc__)
+#include <mesa/glu.h>
+#else
#include <GL/glu.h>
#endif
+#endif