Octavian Voicu writes:
> Fixes a bug that causes a stencil buffer leak in the game The Longest Journey.
> Problem can be seen in the console output log attached to bug #11819.
> This patch doesn't fix the original bug, but now game exits cleanly.
>
> The root of the problem is that when releasing
On Mon, Oct 10, 2011 at 10:04 AM, Henri Verbeet 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()
On 10 October 2011 08:07, Octavian Voicu wrote:
> +static HRESULT delete_attached_surface_helper(IDirectDrawSurfaceImpl *root,
> IDirectDrawSurfaceImpl *detach)
> +{
> + if (detach->attached_iface == &detach->IDirectDrawSurface4_iface)
> + return
> IDirectDrawSurface4_DeleteAttachedSur