----------------------------------------------------------------------------- Purpose: Outputs a set of optional arguments to debugging output, using the printf format setting specified in fmt*. -----------------------------------------------------------------------------
| 324 | // the printf format setting specified in fmt*. |
| 325 | //----------------------------------------------------------------------------- |
| 326 | void dprintf( const char *fmt, ... ) |
| 327 | { |
| 328 | va_list args; |
| 329 | char buffer[ 2048 ]; |
| 330 | |
| 331 | va_start( args, fmt ); |
| 332 | vsnprintf( buffer, sizeof( buffer ), fmt, args ); |
| 333 | va_end( args ); |
| 334 | |
| 335 | if ( g_bPrintf ) |
| 336 | printf( "%s", buffer ); |
| 337 | |
| 338 | OutputDebugStringA( buffer ); |
| 339 | } |
| 340 | |
| 341 | //----------------------------------------------------------------------------- |
| 342 | // Purpose: VK_EXT_debug_report callback |
no outgoing calls
no test coverage detected