]> git.cworth.org Git - apitrace/blobdiff - specs/d3d9.py
Fix IDirect3DVertexDeclaration9::GetDeclaration
[apitrace] / specs / d3d9.py
index 9b2b179f57c2f63d5e576d69095fbca1fe13022f..10c6967a48cc4b3c7db21375373afc23ac643cf0 100644 (file)
@@ -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 += [