d3dx9/tests: Avoid a TRUE:FALSE conditional expression.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2d9659d311
commit
020b86b0be
|
@ -1953,7 +1953,7 @@ static void test_effect_parameter_value(IDirect3DDevice9 *device)
|
|||
hr = effect->lpVtbl->SetBool(effect, parameter, bvalue);
|
||||
if (!res_desc->Elements && res_desc->Rows == 1 && res_desc->Columns == 1)
|
||||
{
|
||||
bvalue = bvalue ? TRUE : FALSE;
|
||||
bvalue = TRUE;
|
||||
set_number(expected_value, res_desc->Type, &bvalue, D3DXPT_BOOL);
|
||||
ok(hr == D3D_OK, "%u - %s: SetBool failed, got %#x, expected %#x\n", i, res_full_name, hr, D3D_OK);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue