[PATCH 1/5] d3dx11: Copied functions and defines from d3dx_36 related to texture loading

Nikolay Sivov bunglehead at gmail.com
Tue Sep 13 15:23:51 CDT 2016


On 13.09.2016 23:11, Fabian Maurer wrote:
> +/* temporary defines to not break compilation */
> +
> +#define IDirect3DSurface9_GetDesc(p,a)                 (p)->lpVtbl->GetDesc(p,a)
> +#define IDirect3DSurface9_LockRect(p,a,b,c)            (p)->lpVtbl->LockRect(p,a,b,c)
> +#define IDirect3DSurface9_UnlockRect(p)                (p)->lpVtbl->UnlockRect(p)
> +
...
> +#define INTERFACE IDirect3DSurface9
> +DECLARE_INTERFACE_(IDirect3DSurface9,IDirect3DResource9)

I don't think this is acceptable. It should be done in a way that
doesn't introduce mess like this.



More information about the wine-devel mailing list