[9/10] WineD3D: Test formats for surface support

H. Verbeet hverbeet at gmail.com
Mon Aug 4 15:14:00 CDT 2008

2008/8/4 Stefan Dösinger <stefan at codeweavers.com>:
> +    if(CheckDepthStencilCapability(Adapter, AdapterFormat, CheckFormat)) return TRUE;
This is redundant, the depthstencil formats should already be caught
by the CheckTextureCapability() call. I think you should set this up
the same way as WINED3DRTYPE_TEXTURE, if only for maintainability.

More information about the wine-patches mailing list