On Fri, 10 Jun 2022 at 12:51, Jan Sikorski (@jsikorski) wine@gitlab.winehq.org wrote:
I'm not sure about the released() procedures - it looks like if we fail to create the dxgi_resource, we decref the texture or buffer and then it gets released with dxgi_resource set to NULL, no?
Hmm, right. That's unfortunate though; ideally wined3d_object_released() would only be called on fully initialised objects.