glx: Require screens match for share contexts for classic CreateContext

The GLX_ARB_create_context path (with which this should all get unified,
someday, sigh) already enforces this, but the classic path does not.
It's effectively assumed by the implementation anyway, so let's enforce
it rather than do crashy things.

Reviewed-by: Michel Dänzer <>
Signed-off-by: Adam Jackson <>
4 jobs for glx-validate-share-contexts in 6 minutes and 44 seconds (queued for 1 second)