[PATCH] wined3d: Check pointer before use
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Wed Aug 3 02:43:32 CDT 2016
On 03/08/16 17:34, Henri Verbeet wrote:
> On 3 August 2016 at 04:29, Alistair Leslie-Hughes
> <leslie_alistair at hotmail.com> wrote:
>> - if (tq->context->tid != GetCurrentThreadId())
>> + if (!tq->context || tq->context->tid != GetCurrentThreadId())
> How can the context be NULL?
>
No sure on the exact cause but running "Need for Speed: The Run"
crashed since the context was NULL.
Best Regards
Alistair Leslie-Hughes
More information about the wine-devel
mailing list