summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/x11/fakeglx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index 22d878eb80d..42c48264bab 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -2804,7 +2804,8 @@ Fake_glXCreateContextAttribs(Display *dpy, GLXFBConfig config,
profileFlags = attrib_list[i + 1];
break;
default:
- fprintf(stderr, "Bad attribute in glXCreateContextAttribs()\n");
+ _mesa_warning(NULL, "Unexpected attribute 0x%x in "
+ "glXCreateContextAttribs()\n", attrib_list[i]);
return 0;
}
}