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:
Zebediah Figura 2022-11-04 17:53:18 -05:00 committed by Alexandre Julliard
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

View File

@ -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));
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);
vkd3d_dbg_voutput(fmt, args);
va_end(args);