glx: Get GLX_SCREEN first in __glXQueryContextInfo()
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 7 May 2010 22:38:35 +0000 (18:38 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 7 May 2010 22:40:54 +0000 (18:40 -0400)
commitdb178af09d734f2f973d50de9ff90fe1cbb5e9c9
tree3ea7708425f78d026923ec5abf8588226e13cac6
parentf350b106171795fec39ed47ef34a451949c84c33
glx: Get GLX_SCREEN first in __glXQueryContextInfo()

And lookup the GLX screen for the context.  Otherwise we'll end up
jumping through a NULL-pointer once we try to look up the visual
or config for the shared context.

https://bugs.freedesktop.org/show_bug.cgi?id=14245
src/glx/glxcmds.c