[4/5] D3D9: Some caps fixes

Stefan Dösinger stefan at codeweavers.com
Mon Aug 20 15:06:12 CDT 2007


Am Montag, 20. August 2007 19:26 schrieb H. Verbeet:
> On 20/08/07, Stefan Dösinger <stefan at 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.



More information about the wine-patches mailing list