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:
authorStefan Gartner <stefang@aon.at>2003-01-07 03:18:59 +0300
committerStefan Gartner <stefang@aon.at>2003-01-07 03:18:59 +0300
commit3531f874e0a4168d15f5d321a85f86ba3a37bfac (patch)
tree504f15190d2e2643e5ecaed7077b5cb2ee928eb0 /source/blender/include/BIF_gl.h
parent3a0c7e4a8a734578778979194757bd134dd01731 (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/blender/include/BIF_gl.h')
-rw-r--r--source/blender/include/BIF_gl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/include/BIF_gl.h b/source/blender/include/BIF_gl.h
index 291c465c6c6..98c6a93c56f 100644
--- a/source/blender/include/BIF_gl.h
+++ b/source/blender/include/BIF_gl.h
@@ -34,9 +34,13 @@
#ifndef BIF_GL_H
#define BIF_GL_H
+#ifdef __APPLE__
+#include <OpenGL/gl.h>
+#include <OpenGL/glu.h>
+#else
#include <GL/gl.h>
#include <GL/glu.h>
-
+#endif
/*
* these should be phased out. cpack should be replaced in
* code with calls to glColor3ub, lrectwrite probably should