[Bug 42873] Need for Speed: The Run crashes when getting a d3d context

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 23 15:17:20 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=42873

Józef Kucia <joseph.kucia at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joseph.kucia at gmail.com

--- Comment #2 from Józef Kucia <joseph.kucia at gmail.com> ---
(In reply to Alistair Leslie-Hughes from comment #0)
> Created attachment 57989 [details]
> possible solution

The condition in the patch should be "if (!context || ...".

> 
> When running "Need for Speed: The Run", it crash on an invalid context.

It happens because the context which was used to issue the query is destroyed
with the associated swapchain. I think it's fine to do a NULL check in
context_reacquire().

-- 
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