2008/8/4 Stefan Dösinger stefan@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.