mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 03:18:08 +02:00
gallium: _debug_vprintf() should be silent if DEBUG is not defined
This commit is contained in:
parent
eb459814b7
commit
7e83157019
1 changed files with 2 additions and 0 deletions
|
|
@ -101,8 +101,10 @@ void _debug_vprintf(const char *format, va_list ap)
|
|||
#elif defined(PIPE_SUBSYSTEM_WINDOWS_CE) || defined(PIPE_SUBSYSTEM_WINDOWS_MINIPORT)
|
||||
/* TODO */
|
||||
#else /* !PIPE_SUBSYSTEM_WINDOWS */
|
||||
#ifdef DEBUG
|
||||
vfprintf(stderr, format, ap);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue