diff --git a/libs/vkd3d/debug.c b/libs/vkd3d/debug.c index 9d8db5d8..dab0714e 100644 --- a/libs/vkd3d/debug.c +++ b/libs/vkd3d/debug.c @@ -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)); - printf("%s:%s: ", debug_level_names[level], function); + fprintf(stderr, "%s:%s: ", debug_level_names[level], function); va_start(args, fmt); - vprintf(fmt, args); + vfprintf(stderr, fmt, args); va_end(args); }