13 Sep
2016
13 Sep
'16
8:23 p.m.
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.