From aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 25 Jan 2010 01:39:44 +0000 Subject: Strip trailing spaces/tabs. svn-id: r47541 --- graphics/pixelformat.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'graphics/pixelformat.h') diff --git a/graphics/pixelformat.h b/graphics/pixelformat.h index 7b95eabd35..fa45738650 100644 --- a/graphics/pixelformat.h +++ b/graphics/pixelformat.h @@ -51,13 +51,13 @@ struct PixelFormat { byte rShift, gShift, bShift, aShift; /**< Binary left shift of each color component in the pixel value. */ inline PixelFormat() { - bytesPerPixel = - rLoss = gLoss = bLoss = aLoss = + bytesPerPixel = + rLoss = gLoss = bLoss = aLoss = rShift = gShift = bShift = aShift = 0; } - inline PixelFormat(byte BytesPerPixel, - byte RBits, byte GBits, byte BBits, byte ABits, + inline PixelFormat(byte BytesPerPixel, + byte RBits, byte GBits, byte BBits, byte ABits, byte RShift, byte GShift, byte BShift, byte AShift) { bytesPerPixel = BytesPerPixel; rLoss = 8 - RBits, gLoss = 8 - GBits, bLoss = 8 - BBits, aLoss = 8 - ABits; -- cgit v1.2.3