mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
mesa: Don't spam the console in a debug build unless some spam is requested.
It's annoying to use test suites under a Mesa debug build because pretty output is cluttered with stderr's continuous reports that you're still using the debug driver.
This commit is contained in:
parent
d512cbf58f
commit
03ff02d08b
1 changed files with 4 additions and 2 deletions
|
|
@ -412,8 +412,10 @@ one_time_init( struct gl_context *ctx )
|
|||
}
|
||||
|
||||
#if defined(DEBUG) && defined(__DATE__) && defined(__TIME__)
|
||||
_mesa_debug(ctx, "Mesa %s DEBUG build %s %s\n",
|
||||
MESA_VERSION_STRING, __DATE__, __TIME__);
|
||||
if (MESA_VERBOSE != 0) {
|
||||
_mesa_debug(ctx, "Mesa %s DEBUG build %s %s\n",
|
||||
MESA_VERSION_STRING, __DATE__, __TIME__);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue