Commit ff9246a9 authored by Kyle Brenneman's avatar Kyle Brenneman
Browse files

GLdispatch: Keep the mutex when calling the vendor's threadAttach callback

In __glDispatchCheckMultithreaded, don't unlock the mutex until after calling
stubCurrentPatchCb->threadAttach.

Without that lock, another thread could come along and change
stubCurrentPatchCb out from under it.
parent 55fad54a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment