summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-01 19:05:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-01 19:08:02 +0300
commita45370aa8bf7a5558801220d625bff89f3f1a185 (patch)
treea29cc2402b57e232389a2b22667e2a2a474cc30b /src/render/graphics.h
parent5359b7c20b9ee93989a840e555f0a2102b7bb806 (diff)
downloadplus-a45370aa8bf7a5558801220d625bff89f3f1a185.tar.gz
plus-a45370aa8bf7a5558801220d625bff89f3f1a185.tar.bz2
plus-a45370aa8bf7a5558801220d625bff89f3f1a185.tar.xz
plus-a45370aa8bf7a5558801220d625bff89f3f1a185.zip
fix renderer names and types.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 5025709ec..c2fd7480a 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -27,6 +27,8 @@
#include "sdlshared.h"
+#include "render/renderers.h"
+
#include <guichan/color.hpp>
#include <guichan/graphics.hpp>
@@ -319,7 +321,7 @@ class Graphics : public gcn::Graphics
bool getDoubleBuffer() const A_WARN_UNUSED
{ return mDoubleBuffer; }
- int getOpenGL() const A_WARN_UNUSED
+ RenderType getOpenGL() const A_WARN_UNUSED
{ return mOpenGL; }
void setNoFrame(const bool n)
@@ -415,7 +417,7 @@ class Graphics : public gcn::Graphics
bool mDoubleBuffer;
SDL_Rect mRect;
bool mSecure;
- int mOpenGL;
+ RenderType mOpenGL;
bool mEnableResize;
bool mNoFrame;
std::string mName;