[3/5] wined3d: replace vendor specific callbacks with generic code that uses vendor specific arrays (resend)

Henri Verbeet hverbeet at gmail.com
Wed Aug 13 03:50:15 CDT 2014


On 12 August 2014 02:17, Andrei Slăvoiu <andrei.slavoiu at gmail.com> wrote:
> @@ -2172,45 +2173,43 @@ intel_gl_vendor_table[] =
>      {GL_VENDOR_MESA,    "Mesa Intel driver",                cards_intel,
> ARRAY_SIZE(cards_intel)},
Your mailer wrapped the patch, so it won't apply. I recommend using
git send-email for sending patches.

> +C_ASSERT(NUMELMS(card_fallback_nvidia)  == WINED3D_D3D_LEVEL_COUNT);
> +C_ASSERT(NUMELMS(card_fallback_amd)     == WINED3D_D3D_LEVEL_COUNT);
> +C_ASSERT(NUMELMS(card_fallback_intel)   == WINED3D_D3D_LEVEL_COUNT);
...
> +    enum wined3d_pci_device *card_fallback; /* An array with D3D_LEVEL_COUNT
> elements */

I also strongly suspect that even if the patch did apply, it would
either generate warnings or just fail to compile.



More information about the wine-devel mailing list