From: José Fonseca Date: Sat, 14 Apr 2012 19:36:09 +0000 (+0100) Subject: Fix IDirect3DVertexDeclaration9::GetDeclaration X-Git-Tag: 2.0_alpha^2~132 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e89b79955edf4a27d4ce8d0d732e94da92936e26;p=tools%2Fapitrace.git Fix IDirect3DVertexDeclaration9::GetDeclaration --- 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 += [