mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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>
This commit is contained in:
parent
d59683ab89
commit
9ca5a81a6e
1 changed files with 1 additions and 1 deletions
|
|
@ -1771,7 +1771,7 @@ _GLX_PUBLIC GLX_ALIAS(XVisualInfo *, glXGetVisualFromFBConfigSGIX,
|
|||
_GLX_PUBLIC GLX_ALIAS(GLXContext, glXCreateContextWithConfigSGIX,
|
||||
(Display *dpy, GLXFBConfigSGIX fbconfig,
|
||||
int renderType, GLXContext shareList, Bool direct),
|
||||
(dpy, config, renderType, shareList, direct),
|
||||
(dpy, fbconfig, renderType, shareList, direct),
|
||||
glXCreateNewContext)
|
||||
|
||||
_GLX_PUBLIC GLXFBConfigSGIX
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue