ddraw: Fixed last part of regression bug #13277

Jens Albretsen jens at albretsen.dk
Thu May 22 13:56:15 CDT 2008


<< snip >>

> > of course even if CreateSurface doesn't addref the publically visible
> > refcount, it could still hold some internal reference to prevent the
> > ddraw object from beeing destroyed. If that's the case, we need an
> > additional test showing that the ddraw object survives even though it has
> > ref 0
>
> So what you're saying I should not use the public visible refcount and add
> a internal AddRef/Release so surfaces can keep ddraw alive this way.

Stefan can I use the numIfaces variable instead, it seems like an internal 
refcount for the directdraw interfaces and since directdrawsurface is a 
interface it would make sense or should I make yet another ref counter.

/Jens




More information about the wine-devel mailing list