Henri Verbeet : ddraw: Avoid LPD3DLIGHT7.

Alexandre Julliard julliard at winehq.org
Thu Jan 10 13:36:12 CST 2013


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Jan 10 11:45:53 2013 +0100

ddraw: Avoid LPD3DLIGHT7.

---

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

diff --git a/include/d3d.h b/include/d3d.h
index 032040e..7cf1512 100644
--- a/include/d3d.h
+++ b/include/d3d.h
@@ -1311,8 +1311,8 @@ DECLARE_INTERFACE_(IDirect3DDevice7,IUnknown)
     STDMETHOD(GetViewport)(THIS_ D3DVIEWPORT7 *data) 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(SetLight)(THIS_ DWORD idx, D3DLIGHT7 *data) PURE;
+    STDMETHOD(GetLight)(THIS_ DWORD idx, D3DLIGHT7 *data) PURE;
     STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE dwRenderStateType, DWORD dwRenderState) PURE;
     STDMETHOD(GetRenderState)(THIS_ D3DRENDERSTATETYPE dwRenderStateType, LPDWORD lpdwRenderState) PURE;
     STDMETHOD(BeginStateBlock)(THIS) PURE;




More information about the wine-cvs mailing list