From ebb2a31e509aa18b89b740d7e9053b27f5ae90e0 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 17 Jan 2024 17:55:19 +0100 Subject: [PATCH] vkd3d: Use debugstr_hresult() in d3d12_command_list_copy_incompatible_texture_region(). --- libs/vkd3d/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 9f9c19bd..5856c773 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -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; }