mirror of
https://review.haiku-os.org/haiku
synced 2025-01-21 05:53:46 +01:00
59d0c2e45e
component of a 32 bit color is below 128 and returns the special CMAP8 index for indicating transparency. * Changed the WriteCMAP() color conversion function to expext a 32bit RGBA value and use IndexForRGBA32(). * Adapted B_CMAP8 target color space case of ConvertBits() to the new semantics. This allows transparency in bitmaps when converting B_RGBA32 bitmaps to B_CMAP8, tested only for this case and working as expected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36549 a95241bf-73f2-0310-859d-f6bbb57e9c96