mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Debug output should go to stderr.
This commit is contained in:
parent
b7d594349f
commit
4c517454b6
@ -73,9 +73,9 @@ void vkd3d_dbg_printf(enum vkd3d_dbg_level level, const char *function, const ch
|
|||||||
|
|
||||||
assert(level <= sizeof(debug_level_names) / sizeof(*debug_level_names));
|
assert(level <= sizeof(debug_level_names) / sizeof(*debug_level_names));
|
||||||
|
|
||||||
printf("%s:%s: ", debug_level_names[level], function);
|
fprintf(stderr, "%s:%s: ", debug_level_names[level], function);
|
||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
vprintf(fmt, args);
|
vfprintf(stderr, fmt, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user