glx/dri: Collect the GLX context attributes in a struct
authorAdam Jackson <ajax@redhat.com>
Fri, 6 Aug 2021 20:32:56 +0000 (16:32 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 18 Aug 2021 21:11:02 +0000 (21:11 +0000)
commita521b502b93ac4a055d08804c677a692f296e9d2
tree502afc942d0c002d2c51688949f17c9deef160aa
parent2cd0991def0e4571bdab33e2891cd37c9bb68ea2
glx/dri: Collect the GLX context attributes in a struct

dri2_convert_glx_attribs had way too many arguments, let's fix that.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12456>
src/glx/dri2_glx.c
src/glx/dri3_glx.c
src/glx/dri_common.c
src/glx/dri_common.h
src/glx/drisw_glx.c