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:
parent
8f6c832b31
commit
33e0d15d17
|
@ -7701,7 +7701,8 @@ static void test_gdi_interop(BOOL d3d11)
|
||||||
todo_wine
|
todo_wine
|
||||||
ok(dc == NULL, "Expected NULL dc, got %p.\n", dc);
|
ok(dc == NULL, "Expected NULL dc, got %p.\n", dc);
|
||||||
ID2D1GdiInteropRenderTarget_Release(interop);
|
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);
|
ID2D1RenderTarget_Release(rt);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue