diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 12:06:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:16 +0300 |
commit | 640fc369b474e395975e82471a1e4be291d23407 (patch) | |
tree | 877823a1caf7ac5803a8ee3512fd4038af50395b /src/graphics.h | |
parent | d80453b5cbf958084a21e624b1dcd2798f19659a (diff) | |
download | plus-640fc369b474e395975e82471a1e4be291d23407.tar.gz plus-640fc369b474e395975e82471a1e4be291d23407.tar.bz2 plus-640fc369b474e395975e82471a1e4be291d23407.tar.xz plus-640fc369b474e395975e82471a1e4be291d23407.zip |
fix images converting and drawing issues in SDL2 and OpenGL.
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 4 |
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; |