libs/vkd3d: Fix return type of d3d12_root_signature_info_count_descriptors() (Coverity).

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-08-15 13:57:49 +02:00 committed by Alexandre Julliard
parent da615f05ba
commit f0c27af357

View File

@ -334,7 +334,7 @@ struct d3d12_root_signature_info
size_t cost; size_t cost;
}; };
static bool d3d12_root_signature_info_count_descriptors(struct d3d12_root_signature_info *info, static HRESULT d3d12_root_signature_info_count_descriptors(struct d3d12_root_signature_info *info,
const D3D12_DESCRIPTOR_RANGE *range) const D3D12_DESCRIPTOR_RANGE *range)
{ {
if (range->NumDescriptors == 0xffffffff) if (range->NumDescriptors == 0xffffffff)