aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_pixmap_scale.cpp
diff options
context:
space:
mode:
authorMax Horn2009-09-30 16:06:04 +0000
committerMax Horn2009-09-30 16:06:04 +0000
commit25dde91c7c6c7da52636e3daa34bd9eee5d9dcb9 (patch)
tree259cde0ecdb8460853c0e476e7bc2f2f94ed8ee0 /engines/sci/gfx/gfx_pixmap_scale.cpp
parentcc54ad650d3f7ffd2546e9d15905a0bda8327415 (diff)
downloadscummvm-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.cpp2
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;