From: S?bastien G. <kx...@us...> - 2004-05-14 12:24:28
|
Update of /cvsroot/vba/VisualBoyAdvance/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13752 Modified Files: scanline.cpp pixel.cpp Log Message: Fixed filters rendering with the GTK+ interface. Index: pixel.cpp =================================================================== RCS file: /cvsroot/vba/VisualBoyAdvance/src/pixel.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** pixel.cpp 13 May 2004 15:06:45 -0000 1.10 --- pixel.cpp 14 May 2004 12:24:18 -0000 1.11 *************** *** 97,107 **** } - #define RGB32_LOW_BITS_MASK 0x010101 - void Pixelate32(u8 *srcPtr, u32 srcPitch, u8 * /* deltaPtr */, u8 *dstPtr, u32 dstPitch, int width, int height) { u8 *nextLine, *finish; ! u32 colorMask = ~RGB32_LOW_BITS_MASK; nextLine = dstPtr + dstPitch; --- 97,105 ---- } void Pixelate32(u8 *srcPtr, u32 srcPitch, u8 * /* deltaPtr */, u8 *dstPtr, u32 dstPitch, int width, int height) { u8 *nextLine, *finish; ! u32 colorMask = ~RGB_LOW_BITS_MASK & 0xffFFff; nextLine = dstPtr + dstPitch; Index: scanline.cpp =================================================================== RCS file: /cvsroot/vba/VisualBoyAdvance/src/scanline.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** scanline.cpp 13 May 2004 15:06:45 -0000 1.6 --- scanline.cpp 14 May 2004 12:24:18 -0000 1.7 *************** *** 181,191 **** } - #define RGB32_LOW_BITS_MASK 0x010101 - void ScanlinesTV32(u8 *srcPtr, u32 srcPitch, u8 * /* deltaPtr */, u8 *dstPtr, u32 dstPitch, int width, int height) { u8 *nextLine, *finish; ! u32 colorMask = ~RGB32_LOW_BITS_MASK; nextLine = dstPtr + dstPitch; --- 181,189 ---- } void ScanlinesTV32(u8 *srcPtr, u32 srcPitch, u8 * /* deltaPtr */, u8 *dstPtr, u32 dstPitch, int width, int height) { u8 *nextLine, *finish; ! u32 colorMask = ~RGB_LOW_BITS_MASK & 0xffFFff; nextLine = dstPtr + dstPitch; |