Reviewed-by: Ian Romanick <[email protected]> On 12/11/2017 09:42 AM, Brian Paul wrote: > We use _mesa_warning() everywhere else in this code. Change requested > by Rick Irons of Mathworks. > > CC: <[email protected]> > --- > src/mesa/drivers/x11/fakeglx.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c > index 22d878e..42c4826 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; > } > } >
_______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
