[Scummvm-git-logs] scummvm master -> bbc781faaad94ad7b7024f98156225062a57dde4

yinsimei roseline.yin at gmail.com
Thu Aug 3 03:51:16 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
bbc781faaa SLUDGE: Fix backdrop loading


Commit: bbc781faaad94ad7b7024f98156225062a57dde4
    https://github.com/scummvm/scummvm/commit/bbc781faaad94ad7b7024f98156225062a57dde4
Author: Simei Yin (roseline.yin at gmail.com)
Date: 2017-08-03T03:50:15+02:00

Commit Message:
SLUDGE: Fix backdrop loading

Changed paths:
    engines/sludge/backdrop.cpp


diff --git a/engines/sludge/backdrop.cpp b/engines/sludge/backdrop.cpp
index 5622d16..62eef91 100644
--- a/engines/sludge/backdrop.cpp
+++ b/engines/sludge/backdrop.cpp
@@ -444,7 +444,8 @@ bool GraphicsManager::loadHSI(Common::SeekableReadStream *stream, int x, int y,
 	}
 
 	// copy surface loaded to backdrop
-	_backdropSurface.copyRectToSurface(tmp.getPixels(), tmp.pitch, x, y, tmp.w, tmp.h);
+	Graphics::TransparentSurface tmp_trans(tmp, false);
+	tmp_trans.blit(_backdropSurface, x, y);
 	tmp.free();
 
 	_origBackdropSurface.copyFrom(_backdropSurface);





More information about the Scummvm-git-logs mailing list