Commit fbce38c5 authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

mfplat/tests: Skip test_d3d11_surface_buffer if D3D11 device can't be created.

Lets tests run successfully on macOS. Signed-off-by: 's avatarGijs Vermeulen <gijsvrm@gmail.com> Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent e1130d24
......@@ -6589,7 +6589,12 @@ static void test_d3d11_surface_buffer(void)
return;
}
device = create_d3d11_device();
/* d3d11 */
if (!(device = create_d3d11_device()))
{
skip("Failed to create a D3D11 device, skipping tests.\n");
return;
}
memset(&desc, 0, sizeof(desc));
desc.Width = 64;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment