glx: fix a macro being invoked with the wrong parameter name
authorAdam Stylinski <kungfujesus06@gmail.com>
Sat, 21 Jan 2023 17:51:28 +0000 (12:51 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sun, 22 Jan 2023 04:22:08 +0000 (04:22 +0000)
commit9ca5a81a6eab703c64bce66baef2e880339d6680
tree0d5e46468672df7bb8e757369fe971709e39a8eb
parentd59683ab8986f977cc91d09fc251f6ed971f0e41
glx: fix a macro being invoked with the wrong parameter name

Strangely, this was somehow compiling with GCC but my futile efforts to
build mesa with msan caused me to find clang refusing to compile because
of this. Unknown how many bugs this could fix or how GCC did manage to
find "config" in scope but it's fairly obvious that this is the correct
parameter that should be used.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20830>
src/glx/glxcmds.c