WineD3D: request alpha in backbuffer mode, to work correctly with multiple opengl pixel formats

Stefan Dösinger stefan at codeweavers.com
Fri Feb 22 16:34:23 CST 2008


Am Freitag, 22. Februar 2008 23:31:43 schrieb Roderick Colenbrander:
> Hi,
>
> In the default backbuffer based renderer in WineD3D the front and
> backbuffer share the same pixel format while D3D itself decouples them. A
> lot of applications use alpha on the backbuffer, so make sure we have
> alpha. This change is needed because the single pixel format which we had
> before always had alpha.

> +        /* In case of ORM_BACKBUFFER, make sure to request an alpha 
component for X4R4G4B4/X8R8G8B8 as we might need it for the backbuffer. */
It would be for offscreen buffers, not the back buffer. I'm sorry for the 
confusion in the earlier mail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080222/bfbf19e6/attachment.pgp 


More information about the wine-devel mailing list