diff options
author | Filippos Karapetis | 2009-09-06 23:04:06 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-06 23:04:06 +0000 |
commit | 9d13de7f88fc7e7307adba722bedcc657748b02f (patch) | |
tree | 2d2fea58bb310e7281e813c15f9b759a6cbe9715 /engines/sci/gfx | |
parent | 7e3616f3a550c33022b318910fce1602d50ebbc9 (diff) | |
download | scummvm-rg350-9d13de7f88fc7e7307adba722bedcc657748b02f.tar.gz scummvm-rg350-9d13de7f88fc7e7307adba722bedcc657748b02f.tar.bz2 scummvm-rg350-9d13de7f88fc7e7307adba722bedcc657748b02f.zip |
Removed some unused variables
svn-id: r43998
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r-- | engines/sci/gfx/gfx_pixmap_scale.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/gfx/gfx_pixmap_scale.cpp b/engines/sci/gfx/gfx_pixmap_scale.cpp index 6131c88619..9e4578a813 100644 --- a/engines/sci/gfx/gfx_pixmap_scale.cpp +++ b/engines/sci/gfx/gfx_pixmap_scale.cpp @@ -40,8 +40,6 @@ namespace Sci { static void _gfx_xlate_pixmap_unfiltered(gfx_mode_t *mode, gfx_pixmap_t *pxm, int scale) { byte result_colors[GFX_PIC_COLORS]; - byte alpha_color = 0; - byte alpha_ormask = 0xffffffff & 0; int xfact = (scale) ? mode->xfact : 1; int yfact = (scale) ? mode->yfact : 1; int widthc, heightc; // Width duplication counter @@ -64,7 +62,7 @@ static void _gfx_xlate_pixmap_unfiltered(gfx_mode_t *mode, gfx_pixmap_t *pxm, in result_colors[i] = pxm->palette->getColor(i).parent_index; if (!separate_alpha_map && pxm->color_key != GFX_PIXMAP_COLOR_KEY_NONE) - result_colors[pxm->color_key] = alpha_color; + result_colors[pxm->color_key] = 0; src = pxm->index_data; // Workaround for gcc 4.2.3 bug on EMT64 for (y = 0; y < pxm->index_height; y++) { |