Re: wined3d: Set container of swapchain surfaces to WINED3D_CONTAINER_NONE in swapchain_init() error path.
1 Jun
2011
1 Jun
'11
5:38 p.m.
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
5316
Age (days ago)
5316
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Dösinger