mesa/glthread: don't set a dispatch table if we aren't the owner
authorGregory Hainaut <gregory.hainaut@gmail.com>
Mon, 13 Feb 2017 18:14:28 +0000 (19:14 +0100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 16 Mar 2017 03:14:19 +0000 (14:14 +1100)
commit70e715eea618f31a1b84a99b063c371af3513754
tree0c8a3b925317c0ec3c25a4d1e6041f5b7a892eeb
parent012bfebc0779bd0eed10ccbdec2edb874992d0dd
mesa/glthread: don't set a dispatch table if we aren't the owner

Fix crashes when glxMakeCurrent is called.

Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
src/mesa/main/glthread.c