tests: Get rid of ID3D12Object_SetName(object, NULL).

It crashes on Windows.

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 2019-02-12 17:41:34 +01:00 committed by Alexandre Julliard
parent b1b3405bcf
commit 48ed937de3

View File

@ -2996,9 +2996,6 @@ static void test_object_interface(void)
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr); ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);
} }
hr = ID3D12Object_SetName(object, NULL);
ok(hr == E_INVALIDARG, "Got unexpected hr %#x.\n", hr);
hr = ID3D12Object_SetName(object, emptyW); hr = ID3D12Object_SetName(object, emptyW);
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr); ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);