[4/20] DDraw: Get rid of FVFs
hverbeet at gmail.com
Wed Apr 25 04:55:29 CDT 2007
On 25/04/07, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> Well, I don't pass the impl, I pass the IDirectDraw7 interface.
True, but that isn't the issue :-)
What I think is a bit questionable is that the directdraw object isn't
directly related to the vertexdeclaration we create. Ie, wrt refcounts
as you mention below.
> Of course I
> could create an additional IParent interface, but I'd have to digg it out
> later when destroying the declaration. As long as WineD3D doesn't destroy the
> parent behind my back it is ok. It does not do at the moment, and when we
> change WineD3D from that regard we'll have to adjust ddraw anyway, even if I
> passed a seperate IParent.
More information about the wine-devel