[PATCH 3/5] d3dx9: Avoid LPD3DXMATRIXSTACK.

Henri Verbeet hverbeet at codeweavers.com
Wed Nov 28 15:11:46 CST 2012


---
 dlls/d3dx9_36/math.c |    2 +-
 include/d3dx9math.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx9_36/math.c b/dlls/d3dx9_36/math.c
index 12073e3..e09dbec 100644
--- a/dlls/d3dx9_36/math.c
+++ b/dlls/d3dx9_36/math.c
@@ -877,7 +877,7 @@ D3DXMATRIX* WINAPI D3DXMatrixTranspose(D3DXMATRIX *pout, CONST D3DXMATRIX *pm)
 
 static const unsigned int INITIAL_STACK_SIZE = 32;
 
-HRESULT WINAPI D3DXCreateMatrixStack(DWORD flags, LPD3DXMATRIXSTACK *ppstack)
+HRESULT WINAPI D3DXCreateMatrixStack(DWORD flags, ID3DXMatrixStack **ppstack)
 {
     struct ID3DXMatrixStackImpl *object;
 
diff --git a/include/d3dx9math.h b/include/d3dx9math.h
index 0f5dc7c..769e086 100644
--- a/include/d3dx9math.h
+++ b/include/d3dx9math.h
@@ -451,7 +451,7 @@ DECLARE_INTERFACE_(ID3DXMatrixStack, IUnknown)
 extern "C" {
 #endif
 
-HRESULT WINAPI D3DXCreateMatrixStack(DWORD flags, LPD3DXMATRIXSTACK* ppstack);
+HRESULT WINAPI D3DXCreateMatrixStack(DWORD flags, ID3DXMatrixStack **stack);
 
 #ifdef __cplusplus
 }
-- 
1.7.8.6




More information about the wine-patches mailing list