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

sev- noreply at scummvm.org
Tue Jul 14 22:41:17 UTC 2026


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

Summary:
fbc60b891f SKY: Fix transparency issue in inventory icon


Commit: fbc60b891f429fdbecd855da8d70af3bdbceb423
    https://github.com/scummvm/scummvm/commit/fbc60b891f429fdbecd855da8d70af3bdbceb423
Author: Priyanshu (10b.priyanshu at gmail.com)
Date: 2026-07-15T00:41:13+02:00

Commit Message:
SKY: Fix transparency issue in inventory icon

Changed paths:
    engines/sky/screen.cpp


diff --git a/engines/sky/screen.cpp b/engines/sky/screen.cpp
index 4b69b16b723..f25d9b24a0c 100644
--- a/engines/sky/screen.cpp
+++ b/engines/sky/screen.cpp
@@ -27,6 +27,7 @@
 #include "common/memstream.h"
 
 #include "graphics/paletteman.h"
+#include "graphics/blit.h"
 
 #include "image/png.h"
 
@@ -73,7 +74,7 @@ void Screen::drawIbassIcon() {
 			// get the current animation frame
 			Graphics::Surface *currentFrame = _uiIcon[i]._anim->_frames[_uiIcon[i]._curFrame];
 			if ((_uiIcon[i]._x + currentFrame->w) <= _screen32.w)
-				_screen32.copyRectToSurfaceWithKey(*currentFrame, _uiIcon[i]._x, _uiIcon[i]._y, Common::Rect(currentFrame->w, currentFrame->h), _screen32.format.ARGBToColor(0x00, 0xFF, 0xFF, 0xFF));
+				Graphics::alphaBlit((byte *)_screen32.getBasePtr(_uiIcon[i]._x, _uiIcon[i]._y), (const byte *)currentFrame->getPixels(), _screen32.pitch, currentFrame->pitch, currentFrame->w, currentFrame->h, _screen32.format, currentFrame->format, 0, 255);
 		}
 
 	}




More information about the Scummvm-git-logs mailing list