main: rework the compatibility check of visuals in glXMakeCurrent
authorMiklós Máté <mtmkls@gmail.com>
Thu, 24 Mar 2016 00:12:59 +0000 (01:12 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 12 Apr 2016 17:48:01 +0000 (19:48 +0200)
commitaad8707b288b03b26c1afde8b6280674e327115d
tree1089b4ff0fbe00ee83d1f9db8ed430aa99a3c134
parentdf37b06276a7298d3785e95fbe2ec9dc1ebd6c4c
main: rework the compatibility check of visuals in glXMakeCurrent

Now it follows the compatibility criteria listed in section 2.1 of
the GLX 1.4 specification.
This is needed for post-process effects in SW:KotOR.

Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/context.c