From a45370aa8bf7a5558801220d625bff89f3f1a185 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 1 Sep 2013 19:05:01 +0300 Subject: fix renderer names and types. --- src/render/graphics.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/render/graphics.h') 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 #include @@ -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; -- cgit v1.2.3-60-g2f50