[PATCH 1/5] ddraw: Avoid LPDIRECT3D2.

Henri Verbeet hverbeet at codeweavers.com
Sun Nov 18 17:15:47 CST 2012


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

diff --git a/include/d3d.h b/include/d3d.h
index f1b9e2d..24dcad6 100644
--- a/include/d3d.h
+++ b/include/d3d.h
@@ -1036,7 +1036,7 @@ DECLARE_INTERFACE_(IDirect3DDevice2,IUnknown)
     STDMETHOD(EnumTextureFormats)(THIS_ LPD3DENUMTEXTUREFORMATSCALLBACK lpD3DEnumTextureProc, LPVOID lpArg) PURE;
     STDMETHOD(BeginScene)(THIS) PURE;
     STDMETHOD(EndScene)(THIS) PURE;
-    STDMETHOD(GetDirect3D)(THIS_ LPDIRECT3D2 *lplpDirect3D2) PURE;
+    STDMETHOD(GetDirect3D)(THIS_ IDirect3D2 **d3d) PURE;
     /*** DrawPrimitive API ***/
     STDMETHOD(SetCurrentViewport)(THIS_ IDirect3DViewport2 *viewport) PURE;
     STDMETHOD(GetCurrentViewport)(THIS_ IDirect3DViewport2 **viewport) PURE;
-- 
1.7.8.6




More information about the wine-patches mailing list