From: Holger Schemel Date: Mon, 8 Feb 2016 20:07:24 +0000 (+0100) Subject: small cleanup of variables usage X-Git-Tag: 4.0.0.0-rc1~81 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=c20229ab1969aebbf9f34ad76a90662461c8b75d;p=rocksndiamonds.git small cleanup of variables usage --- diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index 99662153..7fbd38f7 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -144,9 +144,9 @@ static void UpdateScreen(SDL_Rect *rect) #else // TARGET_SDL if (rect) - SDL_UpdateRects(backbuffer->surface, 1, rect); + SDL_UpdateRects(screen, 1, rect); else - SDL_UpdateRect(backbuffer->surface, 0, 0, 0, 0); + SDL_UpdateRect(screen, 0, 0, 0, 0); #endif }