From 57a3d2ae3b68be705e648e39dc188f381bcc11fa Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 3 Nov 2008 14:07:07 +0000 Subject: Oops actually it seems I forgot to remove mask entries of PixelFormat before committing... svn-id: r34877 --- graphics/colormasks.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'graphics/colormasks.h') diff --git a/graphics/colormasks.h b/graphics/colormasks.h index 983579e545..af72dbdf8c 100644 --- a/graphics/colormasks.h +++ b/graphics/colormasks.h @@ -264,15 +264,14 @@ void colorToARGB(uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) { * * A minor difference between ColorMasks and PixelFormat is that ColorMasks * stores the bit count per channel in 'kFooBits', while PixelFormat stores - * the loss compared to 8 bits per channel in '#Loss'. + * the loss compared to 8 bits per channel in '#Loss'. It also doesn't + * contain mask values. */ struct PixelFormat { byte bytesPerPixel; /**< Number of bytes used in the pixel format. */ byte rLoss, gLoss, bLoss, aLoss; /**< Precision loss of each color component. */ byte rShift, gShift, bShift, aShift; /**< Binary left shift of each color component in the pixel value. */ - - uint32 rMask, gMask, bMask, aMask; /**< Binary mask used to retrieve individual color values. */ }; template -- cgit v1.2.3