bitPerPixel should be set to the actual depth, not the desired depth;
it is reset properly when ThreeToFour is invoked. (Philippe Vanhaesendonck)
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.