[SDL] SDL displaying wrong colors with DirectX and windowed 8bpp mode
Ryan C. Gordon
icculus at icculus.org
Sun Feb 25 16:19:16 PST 2007
> With QEMU and some self-written small test apps I'm unable to get the
> "correct" colors if I change the Windows display resolution to 256 colors, set
> SDL_VIDEODRIVER=directx and then run the application in "window" mode (not
> full-screen). With SDL_VIDEODRIVER=windib everything looks ok.
Are you using a hardware palette? (SDL_HWPALETTE with SDL_SetVideoMode()).
--ryan.
More information about the SDL
mailing list