[PATCH 2/2] d3drm/tests: Add QueryInterface tests for IDirect3DRMTexture*.

Aaryaman Vasishta jem456.vasishta at gmail.com
Mon Jan 18 21:57:31 CST 2016


On Tue, Jan 19, 2016 at 3:09 AM, Henri Verbeet <hverbeet at gmail.com> wrote:

> On 18 January 2016 at 19:57, Aaryaman Vasishta
> <jem456.vasishta at gmail.com> wrote:
> > +    char *file = NULL;
> Why do you initialize this to NULL?
>
I don't remember exactly. I think it was to remove compiler warnings, but I
don't remember. I'll remove the NULL initialization if you want.

>
> > +    BOOL check;
> > +
> > +
> > +    hr = Direct3DRMCreate(&d3drm1);
> The extra empty line is weird. Is that intentional?
>
Not really, it's a silly mistake from me.

> It's fairly harmless here, but %x is a bad format in most cases. E.g.,
> is "1000" decimal 4096 or decimal 1000? Just use %#x. Ideally you'd
> also use the same message format as the other D3D tests.
>
Right, I'll keep a habit of using %#x from now on. :)

I'll resend the patch with the above fixes, including the rest of the
issues you mentioned.

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


More information about the wine-devel mailing list