msrle32: Remove superfluous defines.

This commit is contained in:
André Hentschel 2014-12-10 23:47:12 +01:00 committed by Alexandre Julliard
parent 44c22801e3
commit 4d24fc415f
1 changed files with 1 additions and 4 deletions

View File

@ -36,13 +36,10 @@ static HINSTANCE MSRLE32_hModule = 0;
#define compare_fourcc(fcc1, fcc2) (((fcc1)^(fcc2))&~0x20202020) #define compare_fourcc(fcc1, fcc2) (((fcc1)^(fcc2))&~0x20202020)
#define ABS(a) ((a) < 0 ? -(a) : (a))
#define SQR(a) ((a) * (a))
static inline WORD ColorCmp(WORD clr1, WORD clr2) static inline WORD ColorCmp(WORD clr1, WORD clr2)
{ {
UINT a = clr1 - clr2; UINT a = clr1 - clr2;
return SQR(a); return a * a;
} }
static inline WORD Intensity(RGBQUAD clr) static inline WORD Intensity(RGBQUAD clr)
{ {