d2d1/tests: Add return value test (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-02-01 13:59:50 +03:00 committed by Alexandre Julliard
parent 8f6c832b31
commit 33e0d15d17
1 changed files with 2 additions and 1 deletions

View File

@ -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);