X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsdl.c;fp=src%2Fsdl.c;h=f782961d2a509f9e43ea67d7f729ad32eca3b89f;hb=9dcf51eadcd8fb8e1ba937b6a8db76096cc09b05;hp=bcebf7f27b69ae86a845af2305cb26552b7f5b9f;hpb=6d639c557d602855b9866959445f3f5b5513d289;p=rocksndiamonds.git diff --git a/src/sdl.c b/src/sdl.c index bcebf7f2..f782961d 100644 --- a/src/sdl.c +++ b/src/sdl.c @@ -35,7 +35,9 @@ inline void SDLCopyArea(SDL_Surface *src_surface, SDL_Surface *dst_surface, dst_rect.h = height; SDL_BlitSurface(src_surface, &src_rect, dst_surface, &dst_rect); +#if 1 SDL_UpdateRect(dst_surface, dst_x, dst_y, width, height); +#endif } inline void SDLFillRectangle(SDL_Surface *surface, int x, int y,