[Scummvm-cvs-logs] SF.net SVN: scummvm:[43998] scummvm/trunk/engines/sci/gfx/gfx_pixmap_scale. cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Mon Sep 7 01:04:06 CEST 2009
Revision: 43998
http://scummvm.svn.sourceforge.net/scummvm/?rev=43998&view=rev
Author: thebluegr
Date: 2009-09-06 23:04:06 +0000 (Sun, 06 Sep 2009)
Log Message:
-----------
Removed some unused variables
Modified Paths:
--------------
scummvm/trunk/engines/sci/gfx/gfx_pixmap_scale.cpp
Modified: scummvm/trunk/engines/sci/gfx/gfx_pixmap_scale.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/gfx_pixmap_scale.cpp 2009-09-06 23:02:52 UTC (rev 43997)
+++ scummvm/trunk/engines/sci/gfx/gfx_pixmap_scale.cpp 2009-09-06 23:04:06 UTC (rev 43998)
@@ -40,8 +40,6 @@
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 @@
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++) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list