summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 12:06:41 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:16 +0300
commit640fc369b474e395975e82471a1e4be291d23407 (patch)
tree877823a1caf7ac5803a8ee3512fd4038af50395b /src/graphics.h
parentd80453b5cbf958084a21e624b1dcd2798f19659a (diff)
downloadmanaverse-640fc369b474e395975e82471a1e4be291d23407.tar.gz
manaverse-640fc369b474e395975e82471a1e4be291d23407.tar.bz2
manaverse-640fc369b474e395975e82471a1e4be291d23407.tar.xz
manaverse-640fc369b474e395975e82471a1e4be291d23407.zip
fix images converting and drawing issues in SDL2 and OpenGL.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index a90e1d0e7..2715ceae2 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -393,8 +393,12 @@ class Graphics : public gcn::Graphics
bool videoInfo();
SDL_Window *mWindow;
+
#ifdef USE_SDL2
SDL_Renderer *mRenderer;
+#ifdef USE_OPENGL
+ SDL_GLContext mGLContext;
+#endif
#endif
int mBpp;
bool mAlpha;