d3d [8]: Remove AddRef from IWineD3D*_QueryInterface. This also
removes the implicit AddRef in IWineD3D*_GetContainer.
Markus Amsler
markus.amsler at oribi.org
Wed Nov 22 08:13:50 CST 2006
This removes the last addref calls in wined3d getters. The remaing
refcounting in wined3d is in setters and creaters. Removing them will be
not so trivial.
---
dlls/d3d8/surface.c | 5 -----
dlls/d3d8/volume.c | 1 -
dlls/d3d9/surface.c | 1 -
dlls/d3d9/volume.c | 1 -
dlls/wined3d/basetexture.c | 1 -
dlls/wined3d/cubetexture.c | 1 -
dlls/wined3d/device.c | 12 ------------
dlls/wined3d/directx.c | 1 -
dlls/wined3d/indexbuffer.c | 1 -
dlls/wined3d/palette.c | 1 -
dlls/wined3d/pixelshader.c | 1 -
dlls/wined3d/query.c | 1 -
dlls/wined3d/resource.c | 1 -
dlls/wined3d/stateblock.c | 1 -
dlls/wined3d/surface.c | 22 ++--------------------
dlls/wined3d/swapchain.c | 2 --
dlls/wined3d/texture.c | 1 -
dlls/wined3d/vertexbuffer.c | 1 -
dlls/wined3d/vertexdeclaration.c | 1 -
dlls/wined3d/vertexshader.c | 1 -
dlls/wined3d/volume.c | 1 -
dlls/wined3d/volumetexture.c | 1 -
22 files changed, 2 insertions(+), 57 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9096b7cd842c82885dcaf2c3d6f58d5e9cd7b2cc.diff
Type: text/x-patch
Size: 17520 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061122/756d81b7/9096b7cd842c82885dcaf2c3d6f58d5e9cd7b2cc-0001.bin
More information about the wine-patches
mailing list