From 90cab340f123f1a355f638c47b677c6572a514b2 Mon Sep 17 00:00:00 2001 From: Info Teddy Date: Wed, 22 Jan 2020 04:57:40 -0800 Subject: [PATCH] Copy the backBuffer to the tempBuffer in towerrender() This fixes a bug where bringing up the pause screen while in a tower would draw the room you entered BEFORE the tower during the time it took for the pause screen to be brought up or down. --- desktop_version/src/titlerender.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop_version/src/titlerender.cpp b/desktop_version/src/titlerender.cpp index 9079b29e..89dc3e28 100644 --- a/desktop_version/src/titlerender.cpp +++ b/desktop_version/src/titlerender.cpp @@ -2795,6 +2795,7 @@ void towerrender(Graphics& dwgfx, Game& game, mapclass& map, entityclass& obj, U } }*/ dwgfx.cutscenebars(); + BlitSurfaceStandard(dwgfx.backBuffer, NULL, dwgfx.tempBuffer, NULL); dwgfx.drawgui(help); if (dwgfx.flipmode)