diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-30 12:17:40 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-30 12:17:40 (GMT) |
| commit | ab82847cd604bdaff9f458321b57f7ec8aa410a0 (patch) | |
| tree | 38fbe8ae3f3ab79cc2c65f54d757b1fec7ce5552 /src/Graphics.h | |
| parent | 86746f38b0c0f382f06eb11c59b3dc49641490aa (diff) | |
| download | powder-ab82847cd604bdaff9f458321b57f7ec8aa410a0.zip powder-ab82847cd604bdaff9f458321b57f7ec8aa410a0.tar.gz | |
Fix minor syntax error, move all OpenGL includes into a new file that can detect the OS X version.
Diffstat (limited to 'src/Graphics.h')
| -rw-r--r-- | src/Graphics.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/Graphics.h b/src/Graphics.h index d3f891c..f404d40 100644 --- a/src/Graphics.h +++ b/src/Graphics.h @@ -4,18 +4,7 @@ #include "SDL.h" #include <string> #if defined(OGLR) -#ifdef MACOSX -#include <OpenGL/gl3.h> -#include <OpenGL/glu.h> -#elif defined(WIN32) -#include <GL/glew.h> -#include <GL/gl.h> -#include <GL/glu.h> -#else -//#include <GL/glew.h> -#include <GL/gl.h> -#include <GL/glu.h> -#endif +#include "OpenGLHeaders.h" #endif #include "Config.h" //#include "powder.h" |
