summaryrefslogtreecommitdiff
path: root/common/opengl.h
diff options
context:
space:
mode:
authorleo2006-02-16 00:43:45 +0000
committerleo2006-02-16 00:43:45 +0000
commitfbfc76ee445a633ff94b8f155a0781ea71a9d941 (patch)
treee15cd7cd6de1becf01a250be59b7a92c4d35bb2b /common/opengl.h
parentfc7282961f5c8021060f46301bbf2ae9733c6752 (diff)
OS X config script
git-svn-id: http://svn.leocad.org/trunk@477 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/opengl.h')
-rwxr-xr-xcommon/opengl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/opengl.h b/common/opengl.h
index 2a56559..6445b5c 100755
--- a/common/opengl.h
+++ b/common/opengl.h
@@ -15,6 +15,11 @@
#include "linux_gl.h"
#endif
+#ifdef LC_MACOSX
+#include <OpenGL/gl.h>
+#include <AGL/agl.h>
+#endif
+
//#include <GL/glu.h> // TODO: remove all glu calls
void gluLookAt (GLdouble eyex, GLdouble eyey, GLdouble eyez,
GLdouble centerx, GLdouble centery, GLdouble centerz,