From c492e9c90289d7592b8585ba0dc18b859a428560 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 11 Aug 2007 08:02:19 +0000 Subject: make use of RGBToColor > template function svn-id: r28516 --- graphics/colormasks.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'graphics/colormasks.h') diff --git a/graphics/colormasks.h b/graphics/colormasks.h index c5e463e2c2..b8bfe26535 100644 --- a/graphics/colormasks.h +++ b/graphics/colormasks.h @@ -48,7 +48,8 @@ The meaning of these is masks is the following: R = ((color & kRedMask) >> kRedShift) << (8-kRedBits) Actually, instead of the simple left shift, one might want to use somewhat - more sophisticated code (which fills up the lower most bits. + more sophisticated code (which fills up the least significant bits with + appropriate data). The highBits / lowBits / qhighBits / qlowBits are special values that are -- cgit v1.2.3