mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
Fix for bug #1107815 (SAM: Conroy Bumpus' song subtitles always present)
svn-id: r17017
This commit is contained in:
parent
b5dc4960a4
commit
68dce52387
@ -1005,6 +1005,10 @@ void ScummEngine::drawBox(int x, int y, int x2, int y2, int color) {
|
||||
error("can only copy bg to main window");
|
||||
bgbuff = vs->getBackPixels(x, y);
|
||||
blit(backbuff, vs->pitch, bgbuff, vs->pitch, width, height);
|
||||
if (_charset->_hasMask) {
|
||||
byte *mask = (byte *)gdi._textSurface.pixels + gdi._textSurface.pitch * (y - _screenTop) + x;
|
||||
fill(mask, gdi._textSurface.pitch, CHARSET_MASK_TRANSPARENCY, width, height);
|
||||
}
|
||||
} else {
|
||||
fill(backbuff, vs->pitch, color, width, height);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user