[PATCH 1/6] d3drm: Introduce d3drm_texture_destroy helper (v2).

Aaryaman Vasishta jem456.vasishta at gmail.com
Wed May 11 10:51:07 CDT 2016


Right, I didn't pay attention to d3drm_private.h while reviewing the
commits :/ my bad.

I'll resend this one.

Cheers,
Aaryaman

On Wed, May 11, 2016 at 9:13 PM, Henri Verbeet <hverbeet at gmail.com> wrote:

> On 11 May 2016 at 16:43, Aaryaman Vasishta <jem456.vasishta at gmail.com>
> wrote:
> > +void d3drm_texture_destroy(struct d3drm_texture *texture)
> > +{
> > +
> d3drm_object_cleanup((IDirect3DRMObject*)&texture->IDirect3DRMTexture3_iface,
> &texture->obj);
> > +    HeapFree(GetProcessHeap(), 0, texture);
> > +}
> You're not using d3drm_texture_destroy() outside texture.c, so you
> don't need the declaration in d3drm_private.h, and this should just be
> static.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20160511/3cd0fa77/attachment.html>


More information about the wine-devel mailing list