diff options
author | Max Horn | 2009-09-30 16:06:04 +0000 |
---|---|---|
committer | Max Horn | 2009-09-30 16:06:04 +0000 |
commit | 25dde91c7c6c7da52636e3daa34bd9eee5d9dcb9 (patch) | |
tree | 259cde0ecdb8460853c0e476e7bc2f2f94ed8ee0 /engines/sci/gfx/gfx_pixmap_scale.cpp | |
parent | cc54ad650d3f7ffd2546e9d15905a0bda8327415 (diff) | |
download | scummvm-rg350-25dde91c7c6c7da52636e3daa34bd9eee5d9dcb9.tar.gz scummvm-rg350-25dde91c7c6c7da52636e3daa34bd9eee5d9dcb9.tar.bz2 scummvm-rg350-25dde91c7c6c7da52636e3daa34bd9eee5d9dcb9.zip |
SCI: Some palette code cleanup
svn-id: r44494
Diffstat (limited to 'engines/sci/gfx/gfx_pixmap_scale.cpp')
-rw-r--r-- | engines/sci/gfx/gfx_pixmap_scale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_pixmap_scale.cpp b/engines/sci/gfx/gfx_pixmap_scale.cpp index 65a44c524f..5681bdac1c 100644 --- a/engines/sci/gfx/gfx_pixmap_scale.cpp +++ b/engines/sci/gfx/gfx_pixmap_scale.cpp @@ -58,7 +58,7 @@ static void _gfx_xlate_pixmap_unfiltered(gfx_mode_t *mode, gfx_pixmap_t *pxm, in // Calculate all colors for (i = 0; i < pxm->colors_nr(); i++) - result_colors[i] = pxm->palette->getColor(i).parent_index; + result_colors[i] = pxm->palette->getColor(i).getParentIndex(); if (!separate_alpha_map && pxm->color_key != GFX_PIXMAP_COLOR_KEY_NONE) result_colors[pxm->color_key] = 0; |