Use the same color conversion algorithm as the DIB code (and Windows),
authorFrancois Gouget <fgouget@codeweavers.com>
Wed, 17 Oct 2001 17:45:33 +0000 (17:45 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 17 Oct 2001 17:45:33 +0000 (17:45 +0000)
commit88372a6aef8cc6dea78434bec6d96984c0557eef
tree7a4a39295fe3bd3132033e7bc7a2faf8567fc7d8
parentea4f32c4eb687f4986a7f851af4e25d85498f5ec
Use the same color conversion algorithm as the DIB code (and Windows),
i.e. shifts, not MulDivs.
Fix the grayscale formula.
graphics/x11drv/palette.c