d3dx9/tests: Get rid of a redundant NULL check in test_effect_states().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
20f7abf667
commit
d708f309c8
|
@ -3001,7 +3001,6 @@ static void test_effect_states(IDirect3DDevice9 *device)
|
|||
hr = IDirect3DDevice9_SetRenderState(device, D3DRS_BLENDOP, 3);
|
||||
ok(hr == D3D_OK, "Got result %x, expected 0 (D3D_OK).\n", hr);
|
||||
|
||||
if (effect)
|
||||
effect->lpVtbl->Release(effect);
|
||||
|
||||
hr = IDirect3DDevice9_GetRenderState(device, D3DRS_BLENDOP, &value);
|
||||
|
|
Loading…
Reference in New Issue