aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-06 23:04:06 +0000
committerFilippos Karapetis2009-09-06 23:04:06 +0000
commit9d13de7f88fc7e7307adba722bedcc657748b02f (patch)
tree2d2fea58bb310e7281e813c15f9b759a6cbe9715 /engines
parent7e3616f3a550c33022b318910fce1602d50ebbc9 (diff)
downloadscummvm-rg350-9d13de7f88fc7e7307adba722bedcc657748b02f.tar.gz
scummvm-rg350-9d13de7f88fc7e7307adba722bedcc657748b02f.tar.bz2
scummvm-rg350-9d13de7f88fc7e7307adba722bedcc657748b02f.zip
Removed some unused variables
svn-id: r43998
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gfx/gfx_pixmap_scale.cpp4
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++) {