changed screen rendering mode from preprocessor to runtime configurable
[rocksndiamonds.git] / src / libgame / sdl.h
index 3a00cb1136a5ea745960b8d776dc97b68b85e77d..ae877957aed0d8261b2435a38e76afadf17cbeea 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
 
@@ -451,8 +445,8 @@ void SDLSetWindowTitle(void);
 
 void SDLLimitScreenUpdates(boolean);
 void SDLInitVideoDisplay(void);
-void SDLInitVideoBuffer(DrawBuffer **, DrawWindow **, boolean);
-boolean SDLSetVideoMode(DrawBuffer **, boolean);
+void SDLInitVideoBuffer(boolean);
+boolean SDLSetVideoMode(boolean);
 void SDLCreateBitmapContent(Bitmap *, int, int, int);
 void SDLFreeBitmapPointers(Bitmap *);
 void SDLCopyArea(Bitmap *, Bitmap *, int, int, int, int, int, int, int);