X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.h;h=bad3037cde3668a2e2722b0c22115856b4fbb13a;hb=b2e74ef7ae9ca5c6f198afc177b7a6412079f10e;hp=3a00cb1136a5ea745960b8d776dc97b68b85e77d;hpb=b003831ec2ccf7b14d2aa094466bdeb6c2f1d048;p=rocksndiamonds.git diff --git a/src/libgame/sdl.h b/src/libgame/sdl.h index 3a00cb11..bad3037c 100644 --- a/src/libgame/sdl.h +++ b/src/libgame/sdl.h @@ -56,12 +56,6 @@ #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 @@ -443,16 +437,18 @@ void SDLFreeBitmapTextures(Bitmap *); SDL_Surface *SDL_DisplayFormat(SDL_Surface *); void SDLSetWindowScaling(int); void SDLSetWindowScalingQuality(char *); +void SDLSetScreenRenderingMode(char *); void SDLSetWindowFullscreen(boolean); -void SDLRedrawWindow(); #endif +void SDLRedrawWindow(); + 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);