[Scummvm-git-logs] scummvm master -> 37b8a1c8c6a2573c8ca370f95a50701d8a49ebe8
sdelamarre
noreply at scummvm.org
Fri Mar 10 21:58:44 UTC 2023
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:
37b8a1c8c6 GOB: fix a cursor transparency regression in Adibou2
Commit: 37b8a1c8c6a2573c8ca370f95a50701d8a49ebe8
https://github.com/scummvm/scummvm/commit/37b8a1c8c6a2573c8ca370f95a50701d8a49ebe8
Author: Simon Delamarre (simon.delamarre14 at gmail.com)
Date: 2023-03-10T22:57:12+01:00
Commit Message:
GOB: fix a cursor transparency regression in Adibou2
WinCursor can now hold a mask instead of a keyColor to represent transparency ; but that mask was not properly forwarded to CursorMan.replaceCursor().
Changed paths:
engines/gob/draw_v7.cpp
diff --git a/engines/gob/draw_v7.cpp b/engines/gob/draw_v7.cpp
index d15b04f8d97..66a512f79e6 100644
--- a/engines/gob/draw_v7.cpp
+++ b/engines/gob/draw_v7.cpp
@@ -98,7 +98,8 @@ bool Draw_v7::loadCursorFromFile(Common::String cursorName) {
cursor->getHotspotY(),
cursor->getKeyColor(),
false,
- &_vm->getPixelFormat());
+ &_vm->getPixelFormat(),
+ cursor->getMask());
CursorMan.replaceCursorPalette(cursor->getPalette(),
cursor->getPaletteStartIndex(),
cursor->getPaletteCount());
More information about the Scummvm-git-logs
mailing list