From c2ddab7dd2f7778bac14be2479b9ca5ea995eca0 Mon Sep 17 00:00:00 2001 From: Eric Culp Date: Thu, 28 Jun 2012 15:56:39 -0400 Subject: GRAPHICS: Fix braces in two interpolate functions --- graphics/scaler/intern.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'graphics/scaler') diff --git a/graphics/scaler/intern.h b/graphics/scaler/intern.h index 72f3232ee2..60f88eb00e 100644 --- a/graphics/scaler/intern.h +++ b/graphics/scaler/intern.h @@ -71,8 +71,7 @@ static inline uint32 interpolate32_3_1(uint32 p1, uint32 p2) { * Interpolate two 32 bit pixels with weights 2 and 1 and 1, i.e., (2*p1+p2)/3. */ template -uint32 interpolate32_2_1(uint32 pixel1, uint32 pixel2) -{ +uint32 interpolate32_2_1(uint32 pixel1, uint32 pixel2) { uint32 rsum, gsum, bsum; rsum = (pixel1 & ColorMask::kRedMask) << 1; @@ -320,8 +319,7 @@ static inline unsigned interpolate16_3_1(unsigned p1, unsigned p2) { * Interpolate two 16 bit pixels with weights 2 and 1, i.e., (2*p1+p2)/3. */ template -uint16 interpolate16_2_1(uint16 pixel1, uint16 pixel2) -{ +uint16 interpolate16_2_1(uint16 pixel1, uint16 pixel2) { uint32 rsum; uint16 gsum, bsum; -- cgit v1.2.3