-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Am 2015-10-15 um 21:54 schrieb Bernhard Übelacker:
> + hr = IDirect3DRMFrame_DeleteChild(pFrameP2, pFrameC);
> + ok(hr == D3DRM_OK, "Cannot remove child frame (hr = %x)\n", hr);
> + CHECK_REFCOUNT(pFrameC, 1);
> +
> + CHECK_REFCOUNT(pFrameP1, 2);
> + hr = IDirect3DRMFrame_DeleteChild(pFrameP2, pFrameP1);
> + ok(hr == D3DRM_OK, "Cannot remove child frame (hr = %x)\n", hr);
> + CHECK_REFCOUNT(pFrameP1, 1);
Are these necessary? I'd expect the frame children to be detached when
their parent is destroyed, similarly to how it works in ddraw.
I'm not opposed to explicitly removing them, so I'll send my
signed-off-by to wine-patches. But it's something someone (Jamm? ;-) )
could write an explicit test for.