Module: wine Branch: master Commit: 8c94757c2b6d84110b7fdc82125053e8f44fa236 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8c94757c2b6d84110b7fdc8212...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Nov 28 22:11:46 2012 +0100
d3dx9: Avoid LPD3DXMATRIXSTACK.
---
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 }