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.

Attachment: signature.asc
Description: This is a digitally signed message part.



Reply via email to