mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-common: Always prefix debug output with "vkd3d".
Make it clear which library the debug output is coming from, without relying on the function name including "vkd3d".
This commit is contained in:
parent
c416627e64
commit
58c7c4b806
Notes:
Alexandre Julliard
2022-11-08 23:05:02 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/45
@ -105,7 +105,7 @@ void vkd3d_dbg_printf(enum vkd3d_dbg_level level, const char *function, const ch
|
|||||||
|
|
||||||
assert(level < ARRAY_SIZE(debug_level_names));
|
assert(level < ARRAY_SIZE(debug_level_names));
|
||||||
|
|
||||||
vkd3d_dbg_output("%s:%s ", debug_level_names[level], function);
|
vkd3d_dbg_output("vkd3d:%s:%s ", debug_level_names[level], function);
|
||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
vkd3d_dbg_voutput(fmt, args);
|
vkd3d_dbg_voutput(fmt, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
Loading…
Reference in New Issue
Block a user