d3d : Remove AddRef from IWineD3DDevice_GetVertexDeclaration.
markus.amsler at oribi.org
Mon Nov 27 17:29:01 CST 2006
The following patches remove refcounting in wined3d Getters. The
Setters/Creaters refcounting can't be removed right now, because of the
way implicit surfaces are currently handled.
The idea is to simplify the d3dx<->wined3d refcount relation. Ideally
every wined3d object gets created with refcount=1, never AddRef'ed and
destroyed with the first Release call. Rob mentioned this violates COM
rules, but wined3d is wine internal.
The GetParent patch doesn't remove wined3d refcounting, it seperates
d3dx and wined3d refcounting (Which was the reason I started to remove
dlls/d3d9/vertexdeclaration.c | 1 -
dlls/wined3d/device.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 912 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061128/01395507/d8d3311604023493307b676f899be8607ee1ac73-0001.bin
More information about the wine-patches