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 :-)