d3d9: Properly destroy vertex declarations.

This commit is contained in:
Henri Verbeet 2009-09-20 20:09:26 +02:00 committed by Alexandre Julliard
parent 359acf2461
commit 85ab52a48d
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ static ULONG WINAPI IDirect3DVertexDeclaration9Impl_Release(LPDIRECT3DVERTEXDECL
IDirect3DDevice9Ex *parentDevice = This->parentDevice;
if(!This->convFVF) {
IDirect3DVertexDeclaration9Impl_Release(iface);
IDirect3DVertexDeclaration9Impl_Destroy(iface);
}
IDirect3DDevice9Ex_Release(parentDevice);
}