From: Holger Schemel Date: Thu, 31 Mar 2016 22:45:16 +0000 (+0200) Subject: removed redundant code X-Git-Tag: 4.0.0.0-rc1~24 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=e9008d65c1ea4499d3b39067d38fc356fc2df03d removed redundant code --- diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index 1d93b5a0..8afeb35b 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -866,20 +866,8 @@ void SDLCopyArea(Bitmap *src_bitmap, Bitmap *dst_bitmap, src_bitmap->surface_masked : src_bitmap->surface), &src_rect, real_dst_bitmap->surface, &dst_rect); -#if defined(TARGET_SDL2) - if (dst_bitmap == window) - { - // SDL_UpdateWindowSurface(sdl_window); - // SDL_UpdateWindowSurfaceRects(sdl_window, &dst_rect, 1); - UpdateScreen(&dst_rect); - } -#else if (dst_bitmap == window) - { - // SDL_UpdateRect(backbuffer->surface, dst_x, dst_y, width, height); UpdateScreen(&dst_rect); - } -#endif } void SDLBlitTexture(Bitmap *bitmap,