'Think Different': enabled some demos to compile for OS X -i386

This commit is contained in:
ejcoumans
2006-07-10 05:25:06 +00:00
parent faa1dc90be
commit ccad7b2f22
17 changed files with 133 additions and 10 deletions

View File

@@ -39,7 +39,14 @@ subject to the following restrictions:
#ifdef WIN32 //needed for glut.h
#include <windows.h>
#endif
//think different
#if defined(__APPLE__) && !defined (VMDMESA)
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "GlutStuff.h"
@@ -199,4 +206,4 @@ void clientMouseFunc(int button, int state, int x, int y)
}
void clientMotionFunc(int x,int y)
{
}
}