Henri Verbeet : ddraw: Avoid LPDIRECT3DMATERIAL2.

Alexandre Julliard julliard at winehq.org
Mon Nov 12 14:14:40 CST 2012


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Sun Nov 11 18:52:37 2012 +0100

ddraw: Avoid LPDIRECT3DMATERIAL2.

---

 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,




More information about the wine-cvs mailing list