32bpp bitmaps

Ove Kaaven ovek at arcticnet.no
Thu Feb 5 08:59:49 CST 2004

tor, 05.02.2004 kl. 05.29 skrev Kevin Koltzau:
> On Wednesday 04 February 2004 10:32 pm, Kevin Koltzau wrote:
> > I am loading a 32bpp bitmap from resources of a dll, but under wine its
> > being reported as 24 bit..for example
> I think I actually found the answer to my own question..I'm always getting the bpp of my X server..

The way I understand the API, you could also get the current screen
depth even under real Windows (i.e. 16 if you run Windows in HiColor
mode instead of TrueColor mode), at least early versions of it. If you
want to preserve the bpp, you must use a DIB section, not a plain

More information about the wine-devel mailing list