summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/x11/fakeglx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index 98003b08581..262ede197eb 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -1727,7 +1727,7 @@ Fake_glXGetConfig( Display *dpy, XVisualInfo *visinfo,
{
XMesaVisual xmvis;
- if (!dpy || !visInfo)
+ if (!dpy || !visinfo)
return GLX_BAD_ATTRIBUTE;
xmvis = find_glx_visual( dpy, visinfo );