From 8c4fc6175a6104db3db28ada1edb843e49fc6012 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 25 Nov 2015 10:24:36 +0100 Subject: [PATCH] removed redundant preprocessor directives --- src/libgame/sdl.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index a9fff4ea..628ee38d 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -1198,14 +1198,7 @@ void SDLFadeRectangle(Bitmap *bitmap_cross, int x, int y, int width, int height, if (draw_border_function != NULL) draw_border_function(); -#if defined(TARGET_SDL2) - // SDL_UpdateWindowSurface(sdl_window); - // SDL_UpdateWindowSurfaceRects(sdl_window, &dst_rect2, 1); - UpdateScreen(&dst_rect2); -#else - // SDL_UpdateRect(surface_screen, dst_x, dst_y, width, height); UpdateScreen(&dst_rect2); -#endif } } } -- 2.34.1