shithub: cstory

Download patch

ref: 1b6804bbe12e13561c22ce1d893e4025ce81312a
parent: 5f0249de989600f36f688176c6a284f13960df56
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Aug 12 22:52:37 EDT 2019

Fix BackupSurface

--- a/src/Draw.cpp
+++ b/src/Draw.cpp
@@ -359,7 +359,7 @@
 	RECT frameRect;
 	ScaleRect(rect, &frameRect);
 
-	Backend_Blit(surf[surf_no], &frameRect, framebuffer, frameRect.left, frameRect.top, FALSE);
+	Backend_Blit(framebuffer, &frameRect, surf[surf_no], frameRect.left, frameRect.top, FALSE);
 }
 
 static void DrawBitmap(const RECT *rcView, int x, int y, const RECT *rect, Surface_Ids surf_no, BOOL transparent)