libs/vkd3d: Debug output should go to stderr.

This commit is contained in:
Henri Verbeet 2016-10-05 15:33:24 +02:00
parent b7d594349f
commit 4c517454b6
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}