vkd3d: Use debugstr_hresult() in d3d12_command_list_copy_incompatible_texture_region().

This commit is contained in:
Henri Verbeet 2024-01-17 17:55:19 +01:00 committed by Alexandre Julliard
parent f6ef7c3f46
commit ebb2a31e50
Notes: Alexandre Julliard 2024-01-22 22:53:23 +01:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/586

View File

@ -3706,7 +3706,7 @@ static void d3d12_command_list_copy_incompatible_texture_region(struct d3d12_com
buffer_image_copy.imageExtent.height * buffer_image_copy.imageExtent.depth * layer_count;
if (FAILED(hr = d3d12_command_list_allocate_transfer_buffer(list, buffer_size, &transfer_buffer)))
{
ERR("Failed to allocate transfer buffer, hr %#x.\n", hr);
ERR("Failed to allocate transfer buffer, hr %s.\n", debugstr_hresult(hr));
return;
}