From 768c7121b7abbeec20e3f0a3fd3031eea93910be Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Sun, 6 Jan 2013 14:44:05 +0100 Subject: [PATCH] ddraw: Avoid LPD3DVIEWPORT2. --- include/d3d.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/d3d.h b/include/d3d.h index 72b73d1b799..593cbc77c5a 100644 --- a/include/d3d.h +++ b/include/d3d.h @@ -734,8 +734,8 @@ DECLARE_INTERFACE_(IDirect3DViewport2,IDirect3DViewport) STDMETHOD(DeleteLight)(THIS_ IDirect3DLight *light) PURE; STDMETHOD(NextLight)(THIS_ IDirect3DLight *ref, IDirect3DLight **light, DWORD flags) PURE; /*** IDirect3DViewport2 methods ***/ - STDMETHOD(GetViewport2)(THIS_ LPD3DVIEWPORT2 lpData) PURE; - STDMETHOD(SetViewport2)(THIS_ LPD3DVIEWPORT2 lpData) PURE; + STDMETHOD(GetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE; + STDMETHOD(SetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE; }; #undef INTERFACE @@ -810,8 +810,8 @@ DECLARE_INTERFACE_(IDirect3DViewport3,IDirect3DViewport2) STDMETHOD(DeleteLight)(THIS_ IDirect3DLight *light) PURE; STDMETHOD(NextLight)(THIS_ IDirect3DLight *ref, IDirect3DLight **light, DWORD flags) PURE; /*** IDirect3DViewport2 methods ***/ - STDMETHOD(GetViewport2)(THIS_ LPD3DVIEWPORT2 lpData) PURE; - STDMETHOD(SetViewport2)(THIS_ LPD3DVIEWPORT2 lpData) PURE; + STDMETHOD(GetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE; + STDMETHOD(SetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE; /*** IDirect3DViewport3 methods ***/ STDMETHOD(SetBackgroundDepth2)(THIS_ IDirectDrawSurface4 *surface) PURE; STDMETHOD(GetBackgroundDepth2)(THIS_ IDirectDrawSurface4 **surface, BOOL *valid) PURE;