Henri Verbeet : ddraw: Avoid LPD3DVIEWPORT2.
Alexandre Julliard
julliard at winehq.org
Mon Jan 7 13:42:20 CST 2013
Module: wine
Branch: master
Commit: 768c7121b7abbeec20e3f0a3fd3031eea93910be
URL: http://source.winehq.org/git/wine.git/?a=commit;h=768c7121b7abbeec20e3f0a3fd3031eea93910be
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Sun Jan 6 14:44:05 2013 +0100
ddraw: Avoid LPD3DVIEWPORT2.
---
include/d3d.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/d3d.h b/include/d3d.h
index 72b73d1..593cbc7 100644
--- a/include/d3d.h
+++ b/include/d3d.h
@@ -734,8 +734,8 @@ DECLARE_INTERFACE_(IDirect3DViewport2,IDirect3DViewport)
STDMETHOD(DeleteLight)(THIS_ IDirect3DLight *light) PURE;
STDMETHOD(NextLight)(THIS_ IDirect3DLight *ref, IDirect3DLight **light, DWORD flags) PURE;
/*** IDirect3DViewport2 methods ***/
- STDMETHOD(GetViewport2)(THIS_ LPD3DVIEWPORT2 lpData) PURE;
- STDMETHOD(SetViewport2)(THIS_ LPD3DVIEWPORT2 lpData) PURE;
+ STDMETHOD(GetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE;
+ STDMETHOD(SetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE;
};
#undef INTERFACE
@@ -810,8 +810,8 @@ DECLARE_INTERFACE_(IDirect3DViewport3,IDirect3DViewport2)
STDMETHOD(DeleteLight)(THIS_ IDirect3DLight *light) PURE;
STDMETHOD(NextLight)(THIS_ IDirect3DLight *ref, IDirect3DLight **light, DWORD flags) PURE;
/*** IDirect3DViewport2 methods ***/
- STDMETHOD(GetViewport2)(THIS_ LPD3DVIEWPORT2 lpData) PURE;
- STDMETHOD(SetViewport2)(THIS_ LPD3DVIEWPORT2 lpData) PURE;
+ STDMETHOD(GetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE;
+ STDMETHOD(SetViewport2)(THIS_ D3DVIEWPORT2 *data) PURE;
/*** IDirect3DViewport3 methods ***/
STDMETHOD(SetBackgroundDepth2)(THIS_ IDirectDrawSurface4 *surface) PURE;
STDMETHOD(GetBackgroundDepth2)(THIS_ IDirectDrawSurface4 **surface, BOOL *valid) PURE;
More information about the wine-cvs
mailing list