Commit 023446f1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d9/tests: Check some more return values (LLVM/Clang).

parent ec5c4170
......@@ -142,6 +142,7 @@ static void test_surface_alignment(IDirect3DDevice9 *device_ptr)
*/
ok(lockedRect.Pitch == 12, "Got pitch %d, expected 12\n", lockedRect.Pitch);
hr = IDirect3DSurface9_UnlockRect(surface_ptr);
ok(SUCCEEDED(hr), "IDirect3DSurface9_UnlockRect returned %#x.\n", hr);
IDirect3DSurface9_Release(surface_ptr);
}
......
......@@ -335,6 +335,7 @@ static void test_filter(IDirect3DDevice9 *device) {
}
hr = IDirect3DDevice9_SetTexture(device, 0, NULL);
ok(SUCCEEDED(hr), "IDirect3DDevice9_SetTexture returned %#x.\n", hr);
IDirect3DTexture9_Release(texture);
out:
......
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