Question about ddraw implemtation

Ralph Little littlesincanada at yahoo.co.uk
Thu May 12 18:36:09 CDT 2011


Hi,
Further to my last post, I can confirm that the pixelformat structure is 
completely empty.
A quick dump of the DDPIXELFORMAT structure shows that:

=================================
trace:ddraw:PixelFormat_DD2WineD3D =========dwSize = 32, sizeof(32)
trace:ddraw:PixelFormat_DD2WineD3D =========dwFlags = 0
trace:ddraw:PixelFormat_DD2WineD3D =========dwFourCC = 0
trace:ddraw:PixelFormat_DD2WineD3D =========dwRGBBitCount = 0
trace:ddraw:PixelFormat_DD2WineD3D =========dwRBitMask = 0
trace:ddraw:PixelFormat_DD2WineD3D =========dwGBitMask = 0
trace:ddraw:PixelFormat_DD2WineD3D =========dwBBitMask = 0
trace:ddraw:PixelFormat_DD2WineD3D =========dwRGBAlphaBitMask = 0
=================================

I don't know if this is a bug in the Sims that either:

a) DDPIXELFORMAT is improperly filled in relying on some buggy behaviour 
in DirectDraw
b) DDPIXELFORMAT is properly filled in for some default behaviour.
c) DDSURFACEDESC2 is improperly defined with dwFlags & DDSD_PIXELFORMAT

If anyone can try this out in (real) DirectDraw and let me know what 
happens that would be really cool.

Cheers,
Ralph



More information about the wine-devel mailing list