Henri Verbeet : ddraw: Avoid LPD3DMATERIAL7.

Alexandre Julliard julliard at winehq.org
Wed Jan 9 13:30:37 CST 2013


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Jan  9 11:27:14 2013 +0100

ddraw: Avoid LPD3DMATERIAL7.

---

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

diff --git a/include/d3d.h b/include/d3d.h
index 9e4ccf2..ba860a4 100644
--- a/include/d3d.h
+++ b/include/d3d.h
@@ -1309,8 +1309,8 @@ DECLARE_INTERFACE_(IDirect3DDevice7,IUnknown)
     STDMETHOD(SetViewport)(THIS_ D3DVIEWPORT7 *data) PURE;
     STDMETHOD(MultiplyTransform)(THIS_ D3DTRANSFORMSTATETYPE state, D3DMATRIX *matrix) PURE;
     STDMETHOD(GetViewport)(THIS_ D3DVIEWPORT7 *data) PURE;
-    STDMETHOD(SetMaterial)(THIS_ LPD3DMATERIAL7 lpMat) PURE;
-    STDMETHOD(GetMaterial)(THIS_ LPD3DMATERIAL7 lpMat) PURE;
+    STDMETHOD(SetMaterial)(THIS_ D3DMATERIAL7 *data) PURE;
+    STDMETHOD(GetMaterial)(THIS_ D3DMATERIAL7 *data) PURE;
     STDMETHOD(SetLight)(THIS_ DWORD dwLightIndex,LPD3DLIGHT7 lpLight) PURE;
     STDMETHOD(GetLight)(THIS_ DWORD dwLightIndex,LPD3DLIGHT7 lpLight) PURE;
     STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE dwRenderStateType, DWORD dwRenderState) PURE;




More information about the wine-cvs mailing list