[Bug 13810] New: D3DSwapChainImpl_Destroy() shouldn't call SetDisplayMode() in D3D7

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 9 15:15:57 CDT 2008


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 at winehq.org
        ReportedBy: prouvot.guillaume at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list