From 3747d852eecb9e510a0b5cf0d03674f657f1b9e0 Mon Sep 17 00:00:00 2001 From: Adrian Frühwirth Date: Sun, 15 Apr 2018 14:00:56 +0200 Subject: JANITORIAL: Fix whitespace --- graphics/scaler.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'graphics/scaler.cpp') diff --git a/graphics/scaler.cpp b/graphics/scaler.cpp index 745988cbd9..a3ac7fc107 100644 --- a/graphics/scaler.cpp +++ b/graphics/scaler.cpp @@ -107,12 +107,12 @@ void InitLUT(Graphics::PixelFormat format) { hqx_low2bits = (3 << format.rShift) | (3 << format.gShift) | (3 << format.bShift), hqx_low3bits = (7 << format.rShift) | (7 << format.gShift) | (7 << format.bShift), - hqx_highbits = format.RGBToColor(255,255,255) ^ hqx_lowbits; + hqx_highbits = format.RGBToColor(255, 255, 255) ^ hqx_lowbits; // FIXME: The following code only does the right thing // if the color order is RGB or BGR, i.e., green is in the middle. - hqx_greenMask = format.RGBToColor(0,255,0); - hqx_redBlueMask = format.RGBToColor(255,0,255); + hqx_greenMask = format.RGBToColor( 0, 255, 0); + hqx_redBlueMask = format.RGBToColor(255, 0, 255); hqx_green_redBlue_Mask = (hqx_greenMask << 16) | hqx_redBlueMask; #endif @@ -145,10 +145,10 @@ void InitScalers(uint32 BitFormat) { #endif // Build dotmatrix lookup table for the DotMatrix scaler. - g_dotmatrix[0] = g_dotmatrix[10] = format.RGBToColor(0, 63, 0); - g_dotmatrix[1] = g_dotmatrix[11] = format.RGBToColor(0, 0, 63); - g_dotmatrix[2] = g_dotmatrix[8] = format.RGBToColor(63, 0, 0); - g_dotmatrix[4] = g_dotmatrix[6] = + g_dotmatrix[0] = g_dotmatrix[10] = format.RGBToColor( 0, 63, 0); + g_dotmatrix[1] = g_dotmatrix[11] = format.RGBToColor( 0, 0, 63); + g_dotmatrix[2] = g_dotmatrix[ 8] = format.RGBToColor(63, 0, 0); + g_dotmatrix[4] = g_dotmatrix[ 6] = g_dotmatrix[12] = g_dotmatrix[14] = format.RGBToColor(63, 63, 63); } -- cgit v1.2.3