- Fixed not working Grayscale visual (was crashing)
commit19b49b3fc1d5733a3fc63d9a4df26f76887e592a
authordan <dan>
Thu, 10 May 2001 21:31:13 +0000 (10 21:31 +0000)
committerdan <dan>
Thu, 10 May 2001 21:31:13 +0000 (10 21:31 +0000)
tree3096227983c3c6d775e74bf05dfb6fc3604edc0e
parentff5680d01098ba9e1ac888fc776fb0e0298217be
- Fixed not working Grayscale visual (was crashing)
- Fixed wrong display of images with alpha in StaticGray and GrayScale visuals
- Hermes lib is used now only to convert if the visual is TrueColor and no
  dithering is necesarry. This is because currently hermeslib doesn't
  support to convert to an indexed destination image (so it can't convert to
  PseudoColor, StaticGray and GreyScale visuals). It can convert to
  StaticColor since this visual uses masks as the TrueColor visual, but
  without dithering. Also hermeslib only supports dithering for just 2
  combinations of source/destination bits/masks, none of which are useful
  for wrlib, so no conversion that needs dithering is currently done
  through hermeslib.
wrlib/ChangeLog
wrlib/convert.c