From e9008d65c1ea4499d3b39067d38fc356fc2df03d Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 1 Apr 2016 00:45:16 +0200 Subject: [PATCH] removed redundant code --- src/libgame/sdl.c | 12 ------------ 1 file changed, 12 deletions(-) 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, -- 2.34.1