[PATCH v2 2/3] d2d1: Implement ID2D1Bitmap1::Unmap().
Nikolay Sivov
nsivov at codeweavers.com
Fri May 27 03:35:43 CDT 2022
On 5/26/22 10:36, Dmitry Timoshkov wrote:
> @@ -66,6 +66,8 @@ static ULONG STDMETHODCALLTYPE d2d_bitmap_Release(ID2D1Bitmap1 *iface)
>
> if (!refcount)
> {
> + if (bitmap->staging_resource)
> + ID2D1Bitmap1_Unmap(iface);
> if (bitmap->srv)
> ID3D11ShaderResourceView_Release(bitmap->srv);
> if (bitmap->rtv)
Is it necessary to unmap?
More information about the wine-devel
mailing list