X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.h;h=3b3266178c56aed9820ace30e8e7d0bc2b76b1d7;hb=30512b15037dcc2cd5056fb328f1bc93b6d03394;hp=7ffb0c25e8dc5281ada68ad2de4a83506eed353e;hpb=613bf5a86ca6be61b8f6ed84524b122491350cae;p=rocksndiamonds.git diff --git a/src/libgame/sdl.h b/src/libgame/sdl.h index 7ffb0c25..3b326617 100644 --- a/src/libgame/sdl.h +++ b/src/libgame/sdl.h @@ -56,7 +56,11 @@ #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 @@ -447,8 +451,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);