Henri Verbeet : ddraw: Avoid LPDIRECT3DMATERIAL.

Alexandre Julliard julliard at winehq.org
Tue Nov 13 13:46:04 CST 2012


Module: wine
Branch: master
Commit: 5b1dc444e684f66fedb0a7e24f230fad041c7e4e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5b1dc444e684f66fedb0a7e24f230fad041c7e4e

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Nov 12 21:50:57 2012 +0100

ddraw: Avoid LPDIRECT3DMATERIAL.

---

 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;
 };




More information about the wine-cvs mailing list