mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
DIRECTOR: Use the remapPalettesWhenNeeded flag
This commit is contained in:
parent
8eb6cd2ac0
commit
04d5d0f59f
@ -320,8 +320,8 @@ Graphics::MacWidget *BitmapCastMember::createWidget(Common::Rect &bbox, Channel
|
||||
break;
|
||||
// 8bpp - if using a different palette, and we're not doing a color cycling operation, convert using nearest colour matching
|
||||
case 8:
|
||||
// Only redither images in Director 4 and up.
|
||||
if (g_director->getVersion() < 400)
|
||||
// Only redither 8-bit images if we have the flag set
|
||||
if (!movie->_remapPalettesWhenNeeded)
|
||||
break;
|
||||
if (castPaletteId != currentPaletteId && !isColorCycling) {
|
||||
const auto pals = g_director->getLoadedPalettes();
|
||||
|
Loading…
x
Reference in New Issue
Block a user