tests: Fix missing hresult check in RTV descriptor copy test

Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
Joshua Ashton 2021-02-12 17:44:26 +00:00 committed by Hans-Kristian Arntzen
parent 485399ff81
commit b168a9278b
1 changed files with 1 additions and 0 deletions

View File

@ -18643,6 +18643,7 @@ static void test_copy_rtv_descriptors(void)
&heap_properties, D3D12_HEAP_FLAG_NONE, &rt_desc,
D3D12_RESOURCE_STATE_RENDER_TARGET, NULL,
&IID_ID3D12Resource, (void **)&rt_texture);
ok(hr == S_OK, "Failed to create committed resource, hr %#x.\n", hr);
rtv_heap = create_cpu_descriptor_heap(device, D3D12_DESCRIPTOR_HEAP_TYPE_RTV, 9);