   Linux SDL & X11 color palette issues
  I'm writing a game in linux using C/SDL.  I'm using 16 bit color mode in SDL.  When I run the app on a 32bpp video setting, there are no problems.  The colors display perfectly.  When I set the desktop video mode to 16bpp and run the app in x the colors get screwed up.  When I shutdown X and run the app at the console level the colors are perfect again.  I shot a screen shot of the screwed up colors in 16bpp mode to post here.  When I switched back to 32bpp mode the screenshot was fine.  What this says to me is that when running X in 16bpp mode it changes the palette for reason and screws up the colors.  Is there a way in sdl to override this?  A way to stop X from interfering with the colors?  I have to get this working on 16bpp cards so there isn't an easy way out.  Any help is appreciated   