mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Fix --warp command line option.
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
f359108658
commit
0be448b4fd
@ -254,7 +254,7 @@ static IUnknown *create_adapter(void)
|
||||
hr = CreateDXGIFactory1(&IID_IDXGIFactory4, (void **)&factory);
|
||||
ok(hr == S_OK, "Failed to create IDXGIFactory4, hr %#x.\n", hr);
|
||||
|
||||
if (use_warp_device && !(adapter = create_warp_adapter(factory)))
|
||||
if (use_warp_device && (adapter = create_warp_adapter(factory)))
|
||||
{
|
||||
IDXGIFactory4_Release(factory);
|
||||
return adapter;
|
||||
|
Loading…
Reference in New Issue
Block a user