From: Antonino A. D. <ad...@gm...> - 2006-08-06 03:29:38
|
James Lehman wrote: > But if I leave the fb at 8 bpp and my code changes the bpp at runtime to 32, > it looks like the first 16 console colors have been written into the color > map. > Try switching the VC to KD_GRAPHICS mode before you run your app. Then switch it back to KD_TEXT on exit, ie: fd = open("/dev/tty0", FLAG); ioctl(fd, KDSETMODE, KD_GRAPHICS); Let me know if doing the above still writes the console palette to the cmap. That will be a bug. Tony |