[10/13] D3D9: Fix the circular converted vertex declaration reference

H. Verbeet hverbeet at gmail.com
Tue Feb 20 17:28:57 CST 2007

On 20/02/07, Stefan Dösinger <stefan at codeweavers.com> wrote:
> If anyone knows a nicer way to release the converted declaration from
> SetVertexDeclaration feel free to comment.
> Not applying this patch won't affect patches 11-13
Wouldn't it be better to directly compare This against convertedDecl
from the device in IDirect3DVertexDeclaration9Impl_Release, rather
than adding a convertedDecl flag to IDirect3DVertexDeclaration9Impl
and setting / unsetting it? I think it makes things harder than it has
to be. Also, afaik Ivan has some tests for the exact behaviour.

More information about the wine-devel mailing list