aboutsummaryrefslogtreecommitdiff
path: root/graphics/colormasks.h
diff options
context:
space:
mode:
authorJohannes Schickel2008-11-03 14:07:07 +0000
committerJohannes Schickel2008-11-03 14:07:07 +0000
commit57a3d2ae3b68be705e648e39dc188f381bcc11fa (patch)
tree79c8a4596f3c02a783ee6373a83d8dc6007b0740 /graphics/colormasks.h
parentb58aca856c642515fa5e6108680c303f30f816aa (diff)
downloadscummvm-rg350-57a3d2ae3b68be705e648e39dc188f381bcc11fa.tar.gz
scummvm-rg350-57a3d2ae3b68be705e648e39dc188f381bcc11fa.tar.bz2
scummvm-rg350-57a3d2ae3b68be705e648e39dc188f381bcc11fa.zip
Oops actually it seems I forgot to remove mask entries of PixelFormat before committing...
svn-id: r34877
Diffstat (limited to 'graphics/colormasks.h')
-rw-r--r--graphics/colormasks.h5
1 files changed, 2 insertions, 3 deletions
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<int bitFormat>