fixed using unsupported rendering mode from config file with SDL1 target
[rocksndiamonds.git] / src / libgame / sdl.h
index 3b3266178c56aed9820ace30e8e7d0bc2b76b1d7..2402ca522a159ab2c72ce404cf38a2e8fb9cb4b7 100644 (file)
 #define FULLSCREEN_STATUS      FULLSCREEN_AVAILABLE
 #endif
 
-#if defined(TARGET_SDL2)
-#define USE_FINAL_SCREEN_BITMAP        FALSE
-#else
-#define USE_FINAL_SCREEN_BITMAP        TRUE
-#endif
-
 #define CURSOR_MAX_WIDTH       32
 #define CURSOR_MAX_HEIGHT      32
 
@@ -444,9 +438,10 @@ SDL_Surface *SDL_DisplayFormat(SDL_Surface *);
 void SDLSetWindowScaling(int);
 void SDLSetWindowScalingQuality(char *);
 void SDLSetWindowFullscreen(boolean);
-void SDLRedrawWindow();
 #endif
 
+void SDLSetScreenRenderingMode(char *);
+void SDLRedrawWindow();
 void SDLSetWindowTitle(void);
 
 void SDLLimitScreenUpdates(boolean);