'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

@@ -5,7 +5,16 @@
#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 "BMF_Api.h"
#include <stdio.h> //printf debugging
GLDebugDrawer::GLDebugDrawer()