mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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:
parent
da615f05ba
commit
f0c27af357
@ -334,7 +334,7 @@ struct d3d12_root_signature_info
|
||||
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)
|
||||
{
|
||||
if (range->NumDescriptors == 0xffffffff)
|
||||
|
Loading…
Reference in New Issue
Block a user