summaryrefslogtreecommitdiff
path: root/src/Graphics.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-23 13:59:07 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-23 13:59:07 (GMT)
commitf5547f267b9e73be3d8153df3dd36d7e3b69a2d9 (patch)
treed34603fa1776beac9009c42f77126db434891546 /src/Graphics.h
parent4cf42e786bd0e2871a5bc580bed14f4d2c742788 (diff)
downloadpowder-f5547f267b9e73be3d8153df3dd36d7e3b69a2d9.zip
powder-f5547f267b9e73be3d8153df3dd36d7e3b69a2d9.tar.gz
Option to use OpenGL JUST for the interface
Diffstat (limited to 'src/Graphics.h')
-rw-r--r--src/Graphics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Graphics.h b/src/Graphics.h
index bd88d59..e4c2ad8 100644
--- a/src/Graphics.h
+++ b/src/Graphics.h
@@ -4,7 +4,7 @@
#include <string>
#include <cstdlib>
#include <cstring>
-#if defined(OGLR)
+#if defined(OGLI)
#include "OpenGLHeaders.h"
#endif
#include "Config.h"
@@ -104,7 +104,7 @@ class Graphics
public:
pixel *vid;
int sdl_scale;
-#ifdef OGLR
+#ifdef OGLI
//OpenGL specific instance variables
GLuint vidBuf, textTexture;
#endif