Commit 85ab52a4 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d9: Properly destroy vertex declarations.

parent 359acf24
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment