diff options
author | Willem Jan Palenstijn | 2009-05-24 12:56:06 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-05-24 12:56:06 +0000 |
commit | 725ff24170dd23394b4aa6de075d9ca74a7c9199 (patch) | |
tree | f63dc7e1f6ab7aa73dc6ea44d2dc28a17dda178c /engines/sci/gfx/gfx_pixmap_scale.cpp | |
parent | b993eba6a59f4f1edaac5bf75f8338e3ec7cc799 (diff) | |
download | scummvm-rg350-725ff24170dd23394b4aa6de075d9ca74a7c9199.tar.gz scummvm-rg350-725ff24170dd23394b4aa6de075d9ca74a7c9199.tar.bz2 scummvm-rg350-725ff24170dd23394b4aa6de075d9ca74a7c9199.zip |
SCI: re-xlate pixmap when palette revision changed
svn-id: r40859
Diffstat (limited to 'engines/sci/gfx/gfx_pixmap_scale.cpp')
-rw-r--r-- | engines/sci/gfx/gfx_pixmap_scale.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/gfx/gfx_pixmap_scale.cpp b/engines/sci/gfx/gfx_pixmap_scale.cpp index d13c0d143e..52c7b12396 100644 --- a/engines/sci/gfx/gfx_pixmap_scale.cpp +++ b/engines/sci/gfx/gfx_pixmap_scale.cpp @@ -646,6 +646,8 @@ void gfx_xlate_pixmap(gfx_pixmap_t *pxm, gfx_mode_t *mode, gfx_xlate_filter_t fi free(pxm->data); } } + if (pxm->palette) + pxm->palette_revision = pxm->palette->getRevision(); } |