Lets tests run successfully on macOS.
Signed-off-by: Gijs Vermeulen gijsvrm@gmail.com --- dlls/mfplat/tests/mfplat.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dlls/mfplat/tests/mfplat.c b/dlls/mfplat/tests/mfplat.c index cee90567084..4dfdc18bb52 100644 --- a/dlls/mfplat/tests/mfplat.c +++ b/dlls/mfplat/tests/mfplat.c @@ -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;