[PATCH 0/7] MR212: d3d11: Create dxgi resource objects for textures and buffers.

Henri Verbeet hverbeet at gmail.com
Fri Jun 10 05:46:10 CDT 2022


On Fri, 10 Jun 2022 at 12:34, Jan Sikorski (@jsikorski)
<wine at gitlab.winehq.org> wrote:
>
> Jan Sikorski (@jsikorski) commented about dlls/d3d11/texture.c:
> >          return S_OK;
> >      }
> >
> > -    if (texture->dxgi_surface)
> > +    if (texture->dxgi_resource)
> Mostly to test my understanding, do we still actually need to check this for some reason?

I think we should be able to drop the check and do this
unconditionally. That would apply to e.g.
d3d_texture1d_wined3d_object_released() as well.



More information about the wine-devel mailing list