2011/8/8 Ričardas Barkauskas rbarkauskas@codeweavers.com:
While normaly this shouldn't even happen, it is distracting when it does.
You can't change ddraw_surface_add_iface() without also changing surface creation. IIRC the surface is created with references to both the surface and the texture. I guess keeping a reference to just one of them would work because of the little shared refcount dance wined3d surfaces do, but I think I'd prefer to keep that a detail of the wined3d implementation. However, do note that ddraw_surface_release_iface() only releases one of them. I think that may be wrong.