[PATCH 1/5] ddraw: Avoid LPDIRECT3DMATERIAL.

Henri Verbeet hverbeet at codeweavers.com
Mon Nov 12 14:50:57 CST 2012


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

diff --git a/include/d3d.h b/include/d3d.h
index 3746b4b..d1fb494 100644
--- a/include/d3d.h
+++ b/include/d3d.h
@@ -214,7 +214,7 @@ DECLARE_INTERFACE_(IDirect3D,IUnknown)
     STDMETHOD(Initialize)(THIS_ REFIID riid) PURE;
     STDMETHOD(EnumDevices)(THIS_ LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback, LPVOID lpUserArg) PURE;
     STDMETHOD(CreateLight)(THIS_ LPDIRECT3DLIGHT *lplpDirect3DLight, IUnknown *pUnkOuter) PURE;
-    STDMETHOD(CreateMaterial)(THIS_ LPDIRECT3DMATERIAL *lplpDirect3DMaterial, IUnknown *pUnkOuter) PURE;
+    STDMETHOD(CreateMaterial)(THIS_ struct IDirect3DMaterial **material, IUnknown *outer) PURE;
     STDMETHOD(CreateViewport)(THIS_ LPDIRECT3DVIEWPORT *lplpD3DViewport, IUnknown *pUnkOuter) PURE;
     STDMETHOD(FindDevice)(THIS_ LPD3DFINDDEVICESEARCH lpD3DDFS, LPD3DFINDDEVICERESULT lplpD3DDevice) PURE;
 };
-- 
1.7.8.6




More information about the wine-patches mailing list