[Scummvm-git-logs] scummvm master -> a054c12856fb37b64bf600262ada78661070b7dd
dreammaster
dreammaster at scummvm.org
Tue Feb 23 04:48:28 UTC 2021
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:
a054c12856 AGS: Fix rendering of Mallone in Blackwell Deception
Commit: a054c12856fb37b64bf600262ada78661070b7dd
https://github.com/scummvm/scummvm/commit/a054c12856fb37b64bf600262ada78661070b7dd
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-02-22T20:48:18-08:00
Commit Message:
AGS: Fix rendering of Mallone in Blackwell Deception
Changed paths:
engines/ags/lib/allegro/surface.cpp
diff --git a/engines/ags/lib/allegro/surface.cpp b/engines/ags/lib/allegro/surface.cpp
index ebcb9c9725..325d0e704e 100644
--- a/engines/ags/lib/allegro/surface.cpp
+++ b/engines/ags/lib/allegro/surface.cpp
@@ -195,7 +195,7 @@ void BITMAP::draw(const BITMAP *srcBitmap, const Common::Rect &srcRect,
// clear was all the pink transparent color because blit was called,
// and in Allegro, blit doesn't skip transparent pixels. So for now,
// I hacked in an extra check to still skip them if blitting to screen
- if (!IS_TRANSPARENT(rDest, gDest, bDest) || (!skipTrans && !isScreenDest)) {
+ if (!IS_TRANSPARENT(rSrc, gSrc, bSrc) || (!skipTrans && !isScreenDest)) {
uint32 pixel = format.ARGBToColor(aDest, rDest, gDest, bDest);
if (format.bytesPerPixel == 4)
More information about the Scummvm-git-logs
mailing list