On 20/08/07, Stefan Dösinger stefan@codeweavers.com wrote:
/* Some functionality is implemented in d3d9.dll, not wined3d.dll. Add the needed caps */ pCaps->DevCaps2 |= D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES;
You should move that to filter_caps() as well, or at the very least add it to IDirect3DDevice9Impl_GetDeviceCaps().
Am Montag, 20. August 2007 19:26 schrieb H. Verbeet:
On 20/08/07, Stefan Dösinger stefan@codeweavers.com wrote:
/* Some functionality is implemented in d3d9.dll, not wined3d.dll.
Add the needed caps */ pCaps->DevCaps2 |= D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES;
You should move that to filter_caps() as well, or at the very least add it to IDirect3DDevice9Impl_GetDeviceCaps().
It doesn't really belong to filter_caps, because it adds a new cap flag rather than removing wrong ones, but you're right about IDirect3DDevice9Impl_GetDeviceCaps.