added automatic memory usage limitation to engine snapshot management
[rocksndiamonds.git] / src / libgame / sdl.c
index 48a3e374ec39f5a64796bee38fb02b072137ca9a..9b44b372a0965fb73e3d9c7e422812f21ae7161a 100644 (file)
@@ -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))
 {