[Scummvm-git-logs] scummvm master -> cb46e06b3df3210c948ae8d7cd4e1ab8a8dfb3f5
sev-
noreply at scummvm.org
Wed Sep 25 12:50:01 UTC 2024
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:
cb46e06b3d QDENGINE: Fix grDispatcher::putSprMask_a() rendering
Commit: cb46e06b3df3210c948ae8d7cd4e1ab8a8dfb3f5
https://github.com/scummvm/scummvm/commit/cb46e06b3df3210c948ae8d7cd4e1ab8a8dfb3f5
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-09-25T14:49:14+02:00
Commit Message:
QDENGINE: Fix grDispatcher::putSprMask_a() rendering
Changed paths:
engines/qdengine/system/graphics/gr_draw_sprite.cpp
diff --git a/engines/qdengine/system/graphics/gr_draw_sprite.cpp b/engines/qdengine/system/graphics/gr_draw_sprite.cpp
index a3cfaefcd49..a747fbd5de4 100644
--- a/engines/qdengine/system/graphics/gr_draw_sprite.cpp
+++ b/engines/qdengine/system/graphics/gr_draw_sprite.cpp
@@ -1222,7 +1222,7 @@ void grDispatcher::putSprMask_a(int x, int y, int sx, int sy, const byte *p, uin
ix = -1;
}
- sx <<= 1;
+ sx <<= 2;
byte mr, mg, mb;
split_rgb565u(mask_color, mr, mg, mb);
More information about the Scummvm-git-logs
mailing list