From: Patrick Mochel (mochelp@ironarm.com)
Date: Sun 09 Jul 2000 - 22:29:04 IDT
> On Sun, 9 Jul 2000, Sergio Masci wrote: > > Before applying the BMP colours to the hardware colour palette (via > vga_setpalette) try the following mystical incantation - it may help. > svgalib_red = (bmp_red >> 2) & 0x3f; > svgalib_green = (bmp_green >> 2) & 0x3f; > svgalib_blue = (bmp_blue >> 2) & 0x3f; Thanks. That worked. But why? -pat
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST