[Mesa-dev] [PATCH 2/2] swr: suppress debug output from loader unless LIBGL_DEBUG is set.
Chuck Atkins
chuck.atkins at kitware.com
Tue Jan 16 19:37:41 UTC 2018
> > +#define debug_printf(...) if(mesa_debug) { fprintf(stderr,
> __VA_ARGS__); }
>
> `do {} while(0)`
>
Forgive me but I don't understand, what you're saying here.
> Why only replace some of the printfs?
>
The fprintf's I replaced with debug_printf are informational status
messages, while the ones I left are actual error messages.
- Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180116/7bb27554/attachment.html>
More information about the mesa-dev
mailing list