[PATCH] d2d1/tests: Add return value test (Coverity).
Nikolay Sivov
nsivov at codeweavers.com
Mon Feb 1 04:59:50 CST 2021
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
Only for consistency with other tests.
dlls/d2d1/tests/d2d1.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/d2d1/tests/d2d1.c b/dlls/d2d1/tests/d2d1.c
index 7c1ff9dc197..8d584605819 100644
--- a/dlls/d2d1/tests/d2d1.c
+++ b/dlls/d2d1/tests/d2d1.c
@@ -7701,7 +7701,8 @@ static void test_gdi_interop(BOOL d3d11)
todo_wine
ok(dc == NULL, "Expected NULL dc, got %p.\n", dc);
ID2D1GdiInteropRenderTarget_Release(interop);
- ID2D1RenderTarget_EndDraw(rt, NULL, NULL);
+ hr = ID2D1RenderTarget_EndDraw(rt, NULL, NULL);
+ ok(SUCCEEDED(hr), "Failed to end draw, hr %#x.\n", hr);
ID2D1RenderTarget_Release(rt);
--
2.30.0
More information about the wine-devel
mailing list