On Mon, Oct 10, 2011 at 10:04 AM, Henri Verbeet hverbeet@gmail.com wrote:
Can't you just handle this in ddraw_surface_delete_attached_surface()? I.e., replace the Release calls in ddraw_surface?_DeleteAttachedSurface() with a IUnknown_Release(Surf->attached_iface) in ddraw_surface_delete_attached_surface(), and then just call ddraw_surface_delete_attached_surface() where you're using delete_attached_surface_helper() now.
This is much clever! I'll resend the patches, thanks.
Octavian