2009/4/6 Stefan Dösinger stefan@codeweavers.com:
That was my suggestion. We already keep a wined3d-internal refcount for all these objects(shaders, textures, ...), and my plan was a callback function(maybe provided via a COM interface, similar to the WineD3DDeviceParent one). Some time ago I thought you weren't too fond of that idea, but maybe that was a missunderstanding.
Well, it isn't very nice of course, but it's probably our best option.