Added OpenGL includes for Mac OS X

This commit is contained in:
2006-06-18 18:36:16 -04:00
parent ec70392a02
commit 089b8450bc
2 changed files with 20 additions and 4 deletions

View File

@@ -5,8 +5,18 @@
#include <windows.h> // Header file for windows
#endif
#include <cstdio> // Header file for standard input/output
#ifdef WIN32
#include <GL/gl.h> // Header file for OpenGL32 library
#include <GL/glu.h> // Header file for Glu32 library
#endif
#ifdef __linux
#include <GL/gl.h> // Header file for OpenGL32 library
#include <GL/glu.h> // Header file for Glu32 library
#endif
#ifdef __APPLE__
#include <gl.h> // Header file for OpenGL32 library
#include <glu.h> // Header file for Glu32 library
#endif
#include <math.h>
#include "camera.h"

View File

@@ -4,8 +4,14 @@
#pragma comment(lib, "OpenGL32.lib")
#ifdef WIN32
#include <windows.h> //I think this was only needed because gl.h uses it
#endif
#include <GL/gl.h>
#endif
#ifdef __linux
#include <GL/gl.h>
#endif
#ifdef __APPLE__
#include <gl.h>
#endif
#include <cstdio>
#include <string>
#include "texture.h"