[PATCH 4/5] wined3d: Remove the resource_acquire call in resource_cleanup.

Henri Verbeet hverbeet at gmail.com
Wed Mar 9 11:57:27 CST 2022


On Wed, 9 Mar 2022 at 11:48, Stefan Dösinger <stefan at codeweavers.com> wrote:
> @@ -253,7 +253,6 @@ void resource_cleanup(struct wined3d_resource *resource)
>
>          device_resource_released(resource->device, resource);
>      }
> -    wined3d_resource_acquire(resource);
>      wined3d_cs_destroy_object(resource->device->cs, wined3d_resource_destroy_object, resource);
>  }
>
Is that safe? If yes, the reason why is useful information to include
in the commit message.



More information about the wine-devel mailing list