summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-22 14:47:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:15 +0300
commit5e4fcb8a6036746ec1b500297fa55989a80094b4 (patch)
tree915d788dcaf3bc39bed6985236fb879c3c93f6cb /src/graphics.h
parent2480ea4cc668ff99007dd6fb8b44911eea5d5287 (diff)
downloadmv-5e4fcb8a6036746ec1b500297fa55989a80094b4.tar.gz
mv-5e4fcb8a6036746ec1b500297fa55989a80094b4.tar.bz2
mv-5e4fcb8a6036746ec1b500297fa55989a80094b4.tar.xz
mv-5e4fcb8a6036746ec1b500297fa55989a80094b4.zip
final SDL2 compilation fixes.
now it can be compiled, but still not works.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 04234d415..a90e1d0e7 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -392,7 +392,10 @@ class Graphics : public gcn::Graphics
bool videoInfo();
- SDL_Window* mWindow;
+ SDL_Window *mWindow;
+#ifdef USE_SDL2
+ SDL_Renderer *mRenderer;
+#endif
int mBpp;
bool mAlpha;
bool mFullscreen;