removed redundant preprocessor directives
authorHolger Schemel <info@artsoft.org>
Wed, 25 Nov 2015 09:24:36 +0000 (10:24 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 25 Nov 2015 09:24:36 +0000 (10:24 +0100)
src/libgame/sdl.c

index a9fff4eaccc04c495129a84054c91cae7765e7ea..628ee38dc4b0da4a7ecd09158259945198bf4ca7 100644 (file)
@@ -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
       }
     }
   }