From 9d26cad1e39af6e4c96a4efb5ae00332207163ca Mon Sep 17 00:00:00 2001 From: aliaspider Date: Thu, 30 Oct 2014 05:50:41 +0100 Subject: remove warnings --- source/gfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gfx.h') diff --git a/source/gfx.h b/source/gfx.h index 3473670..411c464 100644 --- a/source/gfx.h +++ b/source/gfx.h @@ -278,7 +278,7 @@ static inline uint16 COLOR_ADD(uint16 C1, uint16 C2) #define COLOR_ADD1_2(C1, C2) \ (((((C1) & RGB_REMOVE_LOW_BITS_MASK) + \ ((C2) & RGB_REMOVE_LOW_BITS_MASK)) >> 1) + \ - ((C1) & (C2) & RGB_LOW_BITS_MASK) | ALPHA_BITS_MASK) + (((C1) & (C2) & RGB_LOW_BITS_MASK) | ALPHA_BITS_MASK)) #if defined(OLD_COLOUR_BLENDING) #define COLOR_SUB(C1, C2) \ -- cgit v1.2.3