The testwin and testsprite demo has a few switch to check various SDL working modes, look at the sources to see the switches!