mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
xlib: call _mesa_warning() instead of fprintf()
We use _mesa_warning() everywhere else in this code. Change requested by Rick Irons of Mathworks. CC: <mesa-stable@lists.freedesktop.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
63b03dc924
commit
7a46063803
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue