diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-20 18:21:10 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-20 18:21:10 (GMT) |
| commit | 75a9460c835f4ebea501a89d23e0c5f46da985cc (patch) | |
| tree | 4a7d52842b508e8f4097c6becfe117639fcc6947 /src/Graphics.h | |
| parent | 0bab640fe48a3b13eb01101977d0c5cb8fef199a (diff) | |
| download | powder-75a9460c835f4ebea501a89d23e0c5f46da985cc.zip powder-75a9460c835f4ebea501a89d23e0c5f46da985cc.tar.gz | |
OpenGL rendering
Diffstat (limited to 'src/Graphics.h')
| -rw-r--r-- | src/Graphics.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Graphics.h b/src/Graphics.h index 34305d7..4e6edf6 100644 --- a/src/Graphics.h +++ b/src/Graphics.h @@ -3,6 +3,21 @@ #include <SDL/SDL.h> #include <string> +#if defined(OGLR) +#ifdef MACOSX +#include <GL/glew.h> +#include <OpenGL/gl.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 +#endif #include "Config.h" //#include "powder.h" @@ -159,6 +174,9 @@ public: #endif Graphics(); ~Graphics(); +#ifdef OGLR + GLuint vidBuf; +#endif }; #endif |
