[PATCH] d3drm/tests: Add tests for IDirect3DRM*::LoadTexture (try 5).

Aaryaman Vasishta jem456.vasishta at gmail.com
Fri Jan 1 12:17:31 CST 2016


On Fri, Jan 1, 2016 at 6:39 PM, Stefan Dösinger <stefandoesinger at gmail.com>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Am 2015-12-27 um 10:23 schrieb Aaryaman Vasishta:
> > +        if (info_header.biWidth % 4 != 0)
> > +            expected = (info_header.biWidth & ~0x03) + 4;
> > +        else
> > +            expected = info_header.biWidth;
> This is more complicated than it needs to be:
>
> expected = (info_header.biWidth + 3) & ~3
>
> should work as well.
>
Much better solution :)

I've sent try 6 with the changes.

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


More information about the wine-devel mailing list