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:
committed by
Marge Bot
parent
d59683ab89
commit
9ca5a81a6e
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user