[PATCH 2/5] d3drm: Add stubs for IDirect3DRMFrame interface. (v5)

Henri Verbeet hverbeet at gmail.com
Sun Jun 19 08:19:19 CDT 2016


On 19 June 2016 at 00:29, Aaryaman Vasishta <jem456.vasishta at gmail.com> wrote:
> +static HRESULT WINAPI d3drm_frame1_AddChild(IDirect3DRMFrame *iface, IDirect3DRMFrame *child)
> +{
> +    struct d3drm_frame *frame = impl_from_IDirect3DRMFrame(iface);
> +    struct d3drm_frame *child_frame = unsafe_impl_from_IDirect3DRMFrame(child);
> +
> +    TRACE("iface %p, child %p.\n", iface, child);
> +
> +    if (!child_frame)
> +        return D3DRMERR_BADOBJECT;
That's redundant, d3drm_frame3_AddChild() already takes care of that.



More information about the wine-devel mailing list