http://bugs.winehq.org/show_bug.cgi?id=21323
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #26051|0 |1 is obsolete| |
--- Comment #10 from Henri Verbeet hverbeet@gmail.com 2010-02-05 10:56:08 --- Created an attachment (id=26064) --> (http://bugs.winehq.org/attachment.cgi?id=26064) hack
What seems to happen is that the application creates a swapchain on one window, destroys it, creates a new window and then uses the "hDestWindowOverride" parameter to present to redirect the swapchain to the new window. That's probably questionable behaviour from the application, but should work.
This breaks because IWineD3DSwapChainImpl_SetDestWindowOverride() now works with a context that's current on a Drawable that doesn't exist anymore. I'm wondering if IWineD3DSwapChainImpl_SetDestWindowOverride() really has to go through all this trouble to destroy the context and recreate it though. Could you apply the attached hack to current git and create a new log?