X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.c;h=9b44b372a0965fb73e3d9c7e422812f21ae7161a;hb=17c77433b0e3b4c985fc4171ab240c1acb3a928a;hp=48a3e374ec39f5a64796bee38fb02b072137ca9a;hpb=522cba3565ad60664933d454f83518961deb41c5;p=rocksndiamonds.git diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index 48a3e374..9b44b372 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -431,7 +431,7 @@ void SDLInitVideoBuffer(boolean fullscreen) should never be drawn to directly, it would do no harm nevertheless. */ /* create additional (symbolic) buffer for double-buffering */ - ReCreateBitmap(&window, video.width, video.height, video.depth); + ReCreateBitmap(&window, video.width, video.height); } static boolean SDLCreateScreen(boolean fullscreen) @@ -924,7 +924,7 @@ void PrepareFadeBitmap(int draw_target) FinalizeScreen(draw_target); } -void SDLFadeRectangle(Bitmap *bitmap_cross, int x, int y, int width, int height, +void SDLFadeRectangle(int x, int y, int width, int height, int fade_mode, int fade_delay, int post_delay, void (*draw_border_function)(void)) {