[PATCH 3/5] ddraw: Avoid LPDIRECT3DMATERIAL2.

Henri Verbeet hverbeet at codeweavers.com
Sun Nov 11 11:52:37 CST 2012


---
 include/d3d.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/d3d.h b/include/d3d.h
index f05f690b..3746b4b 100644
--- a/include/d3d.h
+++ b/include/d3d.h
@@ -260,7 +260,7 @@ DECLARE_INTERFACE_(IDirect3D2,IUnknown)
     /*** IDirect3D2 methods ***/
     STDMETHOD(EnumDevices)(THIS_ LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg) PURE;
     STDMETHOD(CreateLight)(THIS_ LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter) PURE;
-    STDMETHOD(CreateMaterial)(THIS_ LPDIRECT3DMATERIAL2 *lplpDirect3DMaterial2, IUnknown *pUnkOuter) PURE;
+    STDMETHOD(CreateMaterial)(THIS_ struct IDirect3DMaterial2 **material, IUnknown *outer) PURE;
     STDMETHOD(CreateViewport)(THIS_ LPDIRECT3DVIEWPORT2 *lplpD3DViewport2, IUnknown *pUnkOuter) PURE;
     STDMETHOD(FindDevice)(THIS_ LPD3DFINDDEVICESEARCH lpD3DDFS, LPD3DFINDDEVICERESULT lpD3DFDR) PURE;
     STDMETHOD(CreateDevice)(THIS_ REFCLSID rclsid, IDirectDrawSurface *surface,
-- 
1.7.8.6




More information about the wine-patches mailing list