Commit 8e5c79e4 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

d3d9: Remove superflous NULL checks (Coverity).

parent a6b714d0
......@@ -11618,11 +11618,8 @@ static void clip_planes_test(IDirect3DDevice9 *device)
hr = IDirect3DDevice9_SetRenderTarget(device, 0, original_rt);
ok(hr == D3D_OK, "IDirect3DDevice9_SetRenderTarget failed, hr=%08x\n", hr);
IDirect3DSurface9_Release(original_rt);
if (offscreen)
{
IDirect3DSurface9_Release(offscreen_surface);
IDirect3DTexture9_Release(offscreen);
}
}
static void fp_special_test(IDirect3DDevice9 *device)
......
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