wined3d: Set container of swapchain surfaces to WINED3D_CONTAINER_NONE in swapchain_init() error path.

Stefan Dösinger stefandoesinger at
Wed Jun 1 12:38:41 CDT 2011

On Wednesday 01 June 2011 01:38:24 Piotr Pawłow wrote:
> Since commit fadfdf21c055caf833a137ffc269c2073dc87fd6 surface refcounts are
> forwarded to the container. We need to break this forwarding in
> swapchain_init() error path, otherwise the swapchain refcount goes down to
> zero and swapchain_cleanup() gets called on an invalid, partly initialized
> swapchain.
This patch looks OK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the wine-devel mailing list