wined3d: Release the view's resource after destroying the view.
commitd8782a9b8ec2d5c41280a249570b5df88e51d3a2
authorZebediah Figura <zfigura@codeweavers.com>
Sat, 25 Nov 2023 04:52:41 +0000 (24 22:52 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 1 Dec 2023 17:45:20 +0000 (1 18:45 +0100)
tree506984b85d35fdd0221d627b3ea3df41826194e6
parentef2908462d37951761f2f820b6fdb6446787543c
wined3d: Release the view's resource after destroying the view.

Allow us to avoid grabbing a temporary reference. This becomes a problem with
the next patch, where we would otherwise grab a reference while a texture is
being destroyed, and hence destroy it twice.
dlls/wined3d/adapter_gl.c
dlls/wined3d/adapter_vk.c
dlls/wined3d/view.c