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:
authorCampbell Barton <ideasman42@gmail.com>2008-01-04 14:55:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-01-04 14:55:37 +0300
commit9ac2817fef9f77be3ccb50441e3cd87379680c61 (patch)
tree439ad6052b0f9a8657b5e7b13ab6344623d34497 /source/blender/include/BIF_gl.h
parent5e58f5d4635dd4d4b38434643df5ede17f0e103f (diff)
some changes needed to get blender compiling with 64bit libs, use the systems Mesa now.
Diffstat (limited to 'source/blender/include/BIF_gl.h')
-rw-r--r--source/blender/include/BIF_gl.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/source/blender/include/BIF_gl.h b/source/blender/include/BIF_gl.h
index 215e88dc002..67d51edc531 100644
--- a/source/blender/include/BIF_gl.h
+++ b/source/blender/include/BIF_gl.h
@@ -53,11 +53,16 @@
#endif
#ifdef __APPLE__
-#include <OpenGL/gl.h>
-#include <OpenGL/glu.h>
+ #include <OpenGL/gl.h>
+ #include <OpenGL/glu.h>
#else
-#include <GL/gl.h>
-#include <GL/glu.h>
+ #if defined (__sun) || defined (__sun__)
+ #include <GL/gl.h>
+ #include <mesa/glu.h>
+ #else
+ #include <GL/gl.h>
+ #include <GL/glu.h>
+ #endif
#endif
/*
* these should be phased out. cpack should be replaced in