X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FMainForm.c;fp=src%2Fgame_sp%2FMainForm.c;h=a9dc22c5789dbf8cbaa4a74693cfd4feb05e4b54;hb=df8f020b9c0aad57e1f2e790c771550232fb6ce8;hp=a2dfbbeb100c21ec95681f311343691101a0d6e3;hpb=ed873d89bc59f4e641134f9019ce216234b9f38f;p=rocksndiamonds.git diff --git a/src/game_sp/MainForm.c b/src/game_sp/MainForm.c index a2dfbbeb..a9dc22c5 100644 --- a/src/game_sp/MainForm.c +++ b/src/game_sp/MainForm.c @@ -1029,6 +1029,10 @@ void DisplayLevel() if (! LevelLoaded) return; + ClearRectangle(backbuffer, REAL_SX, REAL_SY, FULL_SXSIZE, FULL_SYSIZE); + ClearRectangle(screenBitmap, 0, 0, + MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY); + #if 1 SetDisplayRegion(); #endif