[PATCH 2/5] ddraw/tests: Don't require a 3D device for test_resource_priority().

Stefan Dösinger stefandoesinger at gmail.com
Mon Jan 4 15:37:48 CST 2016


> Am 04.01.2016 um 14:11 schrieb Henri Verbeet <hverbeet at codeweavers.com>:
> 
> This fixes commit b0d4502c29941c31108a53d6c23f9e23196fb7ec.
I asked Riccardo about this init change in an earlier version, and afair he said creating cubemaps without a device crashes on some Windows drivers. I can't find the exchange in the archives, it was probably on IRC. Riccardo, do you remember why you made this change?

> -        if ((test_data[i].caps2 & DDSCAPS2_CUBEMAP)
> -                && !(device_desc.dpcTriCaps.dwTextureCaps & D3DPTEXTURECAPS_CUBEMAP))
> -        {
> -            skip("Device does not support cubemaps.\n");
> -            continue;
> -        }
You're creating cubemaps without checking for support now.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20160104/bf4fc007/attachment.sig>


More information about the wine-devel mailing list