summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
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;