http://bugs.winehq.org/show_bug.cgi?id=13810
Summary: D3DSwapChainImpl_Destroy() shouldn't call SetDisplayMode() in D3D7 Product: Wine Version: 1.0-rc4 Platform: All OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: prouvot.guillaume@free.fr
Created an attachment (id=13851) --> (http://bugs.winehq.org/attachment.cgi?id=13851) Add a dx version check before calling SetDisplayMode in D3DSwapChainImpl_Destroy
D3DSwapChainImpl_Destroy() function in dlls/wined3d/swapchain.c shouldn't call SetDisplayMode() when D3D7 is used. This problem cause some 2D graphics corruptions and switch to wrong screen resolution in Speed Busters game. The patch in attachment add just a dx version check before calling SetDisplayMode() to prevent a redundant call with one done by ddraw module.