[PATCH 2/3] d3drm: Implement IDirect3DRMFrame*::GetScene. (v4)

Aaryaman Vasishta jem456.vasishta at gmail.com
Thu Aug 11 17:54:49 CDT 2016


On Fri, Aug 12, 2016 at 1:19 AM, Henri Verbeet <hverbeet at gmail.com> wrote:

> On 10 August 2016 at 17:41, Aaryaman Vasishta <jem456.vasishta at gmail.com>
> wrote:
> > +    *scene = &frame->IDirect3DRMFrame3_iface;
> > +
> > +    while ((frame = frame->parent))
> > +        *scene = &frame->IDirect3DRMFrame3_iface;
> > +
> > +    IDirect3DRMFrame3_AddRef(*scene);
> How about:
>
>     while (frame->parent)
>         frame = frame->parent;
>
>     IDirect3DRMFrame3_AddRef(*scene = &frame->IDirect3DRMFrame3_iface);
>
>
>
Modified patch sent :) do take a look at 125479 as well. Thanks for the
review!

Cheers,
Aaryaman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20160812/fc5cce12/attachment.html>


More information about the wine-devel mailing list