aboutsummaryrefslogtreecommitdiff
path: root/source/gfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/gfx.h')
-rw-r--r--source/gfx.h2
1 files changed, 1 insertions, 1 deletions
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) \