[PATCH 2/4] d3drm: Implement IDirect3DRMTexture{2-3}_InitFromImage.

Aaryaman Vasishta jem456.vasishta at gmail.com
Thu Apr 28 15:28:31 CDT 2016


It does, but that's how Native behaves too. See the tests on this patch for
more details.

Cheers,
Aaryaman

On Friday, April 29, 2016, Sebastian Lackner <sebastian at fds-team.de> wrote:

> On 28.04.2016 21:17, Aaryaman Vasishta wrote:
> > +    IDirect3DRM_AddRef(texture->d3drm);
> > +
> > +    if (texture->image)
> > +        return D3DRMERR_BADOBJECT;
>
> Doesn't this leak a reference in case of an error? ->initialized is not
> set to TRUE yet.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20160429/86f24e72/attachment.html>


More information about the wine-devel mailing list