d3d8/wined3d [5]: Create implicit surfaces with refcount 0.
Markus Amsler
markus.amsler at oribi.org
Wed Nov 15 18:41:31 CST 2006
Stefan Dösinger wrote:
> Currently our CreateTexture(surface, vertexbuffer, ...) increases the device
> refcount and initializes the refcount to 1. In my eyes it would be cleaner to
> init the refcount of everything to 0, and if the interface is not implicit
> AddRef it(from 0 to 1) in Create*. In AddRef, when increasing the refcount
> from to to 1, AddRef the device.
You're right. Besides, we have already enough bogus AddRef/Release
calls. I tried to keep the changes as small as possible. Hey I simply
wanna game BF1942 :-)
More information about the wine-devel
mailing list