Added OpenGL includes for Mac OS X
~g2k
This commit is contained in:
@@ -9,7 +9,15 @@
|
||||
#include <cctype>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#ifdef WIN32
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
#ifdef __linux
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
#ifdef __APPLE___
|
||||
#include <gl.h>
|
||||
#endif
|
||||
#include <cstdio> //for file I/O
|
||||
|
||||
#include "mydefs.h"
|
||||
|
||||
@@ -3,9 +3,17 @@
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h> //Remove if possible
|
||||
#endif
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
#ifdef __linux
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
#include <gl.h>
|
||||
#include <glu.h>
|
||||
#endif
|
||||
//#include <gl/glaux.h> //Hopefully nothing needs this remove if it works in windows
|
||||
#include <string>
|
||||
#include "datatypes.h"
|
||||
|
||||
Reference in New Issue
Block a user