wined3d: Disable WINED3DFMT_B8G8R8_UNORM.

Stefan Dösinger stefandoesinger at
Tue Nov 15 07:44:48 CST 2011

On Tuesday 15 November 2011 14:21:09 Matteo Bruni wrote:
> +        case WINED3DFMT_B8G8R8_UNORM: /* Usable in <=dx7 but not
> enumerated in any case */ 
> +            TRACE_(d3d_caps)("[FAILED] - Not enumerated on Windows\n"); 
> +            return FALSE;
The comment "Usable in <=dx7" is misleading. If I remember correctly your 
attempts at writing a test showed that systemmem surfaces can be created, but 
not video memory surfaces. I wouldn't be surprised if d3d8/9 also allow 
systemmem or scratch B8G8R8 surfaces.

You can also remove the special handling for D3DFMT_R8G8B8 from d3d8/9's 
CheckDeviceFormat handling implementation now that wined3d doesn't report it 
as supported.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the wine-devel mailing list