DDRAW: Releasing attached surfaces

Christoph Frick frick at sc-networks.de
Fri Jun 30 06:29:22 CDT 2006


On Thu, Jun 29, 2006 at 04:43:04PM +0200, Krzysztof Benkowski wrote:

> --- surface.c   26 Jun 2006 12:15:20 -0000      1.6
> +++ surface.c   29 Jun 2006 14:09:59 -0000
> @@ -377,7 +377,7 @@ IDirectDrawSurfaceImpl_Release(IDirectDr
>         while( (surf = This->next_complex) )
>         {
>             This->next_complex = surf->next_complex;  /* Unchain it 
> from the complex listing */
> -            IDirectDrawSurfaceImpl_Destroy(surf);     /* Destroy it */
> +            IDirectDrawSurfaceImpl_Release(surf);     /* Release it */
>         }

as this seems already solved just for the files. this fix let Planescape
Torment crash (before it just ended silently by releasing its "primary
state block") - it worked before the ddraw patches white fine. i will
soon file a bugreport and provide a link to the demo.

-- 
cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060630/dcad768b/attachment.pgp


More information about the wine-devel mailing list