From e89b79955edf4a27d4ce8d0d732e94da92936e26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 14 Apr 2012 20:36:09 +0100 Subject: [PATCH] Fix IDirect3DVertexDeclaration9::GetDeclaration --- specs/d3d9.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/d3d9.py b/specs/d3d9.py index 9b2b179..10c6967 100644 --- a/specs/d3d9.py +++ b/specs/d3d9.py @@ -318,7 +318,7 @@ IDirect3DResource9.methods += [ IDirect3DVertexDeclaration9.methods += [ Method(HRESULT, "GetDevice", [Out(Pointer(PDIRECT3DDEVICE9), "ppDevice")], sideeffects=False), - Method(HRESULT, "GetDeclaration", [Out(Pointer(D3DVERTEXELEMENT9), "pElement"), Out(Pointer(UINT), "pNumElements")], sideeffects=False), + Method(HRESULT, "GetDeclaration", [Out(Array(D3DVERTEXELEMENT9, "*pNumElements"), "pElement"), Out(Pointer(UINT), "pNumElements")], sideeffects=False), ] IDirect3DVertexShader9.methods += [ -- 2.7.4