mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Use debugstr_hresult() in d3d12_device_mark_as_removed().
This commit is contained in:
parent
920f5293e9
commit
6dea3d08b1
Notes:
Alexandre Julliard
2024-02-01 00:32:23 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/620
@ -4473,8 +4473,8 @@ void d3d12_device_mark_as_removed(struct d3d12_device *device, HRESULT reason,
|
|||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
va_start(args, message);
|
va_start(args, message);
|
||||||
WARN("Device %p is lost (reason %#x, \"%s\").\n",
|
WARN("Device %p is lost (reason %s, \"%s\").\n",
|
||||||
device, reason, vkd3d_dbg_vsprintf(message, args));
|
device, debugstr_hresult(reason), vkd3d_dbg_vsprintf(message, args));
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
|
||||||
device->removed_reason = reason;
|
device->removed_reason = reason;
|
||||||
|
Loading…
Reference in New Issue
Block a user