[D3D9] fix for SetFVF memleak [2nd try+patch]
stefandoesinger at gmx.at
Sat Oct 14 15:18:25 CDT 2006
Am Samstag 14 Oktober 2006 20:53 schrieb Ivan Gyurdiev:
> H. Verbeet wrote:
> > On 14/10/06, Ivan Gyurdiev <ivg231 at gmail.com> wrote:
> >> Exactly... so why is the refcount 1 *after* GetVertexDeclaration.
> > Perhaps the declaration in only generated when calling
> > GetVertexDeclaration(). If you call it twice, does it return the same
> > pointer?
> No.. I tried that too.
> The same pointer is returned.
Perhaps windows has a static internal vertex declaration? Does the refcount
increase when you call GetVertexDeclaration more often?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20061014/8a403021/attachment.pgp
More information about the wine-devel