From 3ef77e55c5d552a58555f3d5eb7b7079b537fff3 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 24 Dec 2011 23:33:45 +0000 Subject: (svn r23670) -Feature: Add ability to adjust brightness of colour after remapping for 32bpp sprites --- src/spriteloader/png.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/spriteloader') diff --git a/src/spriteloader/png.cpp b/src/spriteloader/png.cpp index 43301616b..76c914cbf 100644 --- a/src/spriteloader/png.cpp +++ b/src/spriteloader/png.cpp @@ -186,9 +186,6 @@ static bool LoadPNG(SpriteLoader::Sprite *sprite, const char *filename, uint32 i for (uint x = 0; x < png_get_image_width(png_ptr, info_ptr); x++) { if (mask) { if (row_pointer[x * sizeof(uint8)] != 0) { - dst[x].r = 0; - dst[x].g = 0; - dst[x].b = 0; /* Alpha channel is used from the original image (to allow transparency in remap colours) */ extern const byte _palmap_w2d[]; byte colour = row_pointer[x * sizeof(uint8)]; -- cgit v1.2.3-70-g09d2