On 24 October 2014 11:18, Daniel Stone <dan...@fooishbar.org> wrote:

> Yep, that looks good to me; seems like you've found the only possible case
> that would trigger this breakage. Calling DestroyContext will always unbind
> if it's current in that thread (see the end _mesa_free_context_data); it's
> only when you follow that exact pattern of:
>   - create surfaceless context
>   - make ctx current
>   - make something else current
>   - {another thread} destroy ctx
>   - make ctx current again
>

Obviously the last line should read 'make another context current'.

Cheers,
Daniel
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to