diff options
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h index cdbc4104..a3b4aab3 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -48,7 +48,11 @@ public gcn::SDLGraphics { /** * Constructor. */ +#ifdef USE_OPENGL Graphics(bool useOpenGL); +#else + Graphics(); +#endif /** * Destructor. @@ -145,7 +149,10 @@ public gcn::SDLGraphics { private: SDL_Surface *mScreen; - bool mFullscreen, mHWAccel, useOpenGL; + bool mFullscreen, mHWAccel; +#ifdef USE_OPENGL + bool useOpenGL; +#endif }; #endif |