Update of /cvsroot/vba/VisualBoyAdvance/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14032
Modified Files:
motionblur.cpp
Log Message:
Fixed filters rendering with the GTK+ interface.
Index: motionblur.cpp
===================================================================
RCS file: /cvsroot/vba/VisualBoyAdvance/src/motionblur.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** motionblur.cpp 13 May 2004 15:06:45 -0000 1.9
--- motionblur.cpp 14 May 2004 12:25:39 -0000 1.10
***************
*** 119,130 ****
}
- #define RGB32_LOW_BITS_MASK 0x010101
-
void MotionBlur32(u8 *srcPtr, u32 srcPitch, u8 *deltaPtr,
u8 *dstPtr, u32 dstPitch, int width, int height)
{
u8 *nextLine, *finish;
! u32 colorMask = ~RGB32_LOW_BITS_MASK;
! u32 lowPixelMask = RGB32_LOW_BITS_MASK;
nextLine = dstPtr + dstPitch;
--- 119,128 ----
}
void MotionBlur32(u8 *srcPtr, u32 srcPitch, u8 *deltaPtr,
u8 *dstPtr, u32 dstPitch, int width, int height)
{
u8 *nextLine, *finish;
! u32 colorMask = ~RGB_LOW_BITS_MASK & 0xffFFff;
! u32 lowPixelMask = RGB_LOW_BITS_MASK;
nextLine = dstPtr + dstPitch;
|