d3dx9/tests: Fix a shader test failure.
This commit is contained in:
parent
f69a4ef07f
commit
b4736bd767
|
@ -131,7 +131,8 @@ static void test_get_shader_constant_table_ex(void)
|
|||
|
||||
/* With invalid CTAB data */
|
||||
hr = D3DXGetShaderConstantTableEx(shader_with_invalid_ctab, 0, &constant_table);
|
||||
ok(hr == D3DXERR_INVALIDDATA, "Got result %x, expected %x (D3DXERR_INVALIDDATA)\n", hr, D3DXERR_INVALIDDATA);
|
||||
ok(hr == D3DXERR_INVALIDDATA || broken(hr == D3D_OK), /* winxp 64-bit, w2k3 64-bit */
|
||||
"Got result %x, expected %x (D3DXERR_INVALIDDATA)\n", hr, D3DXERR_INVALIDDATA);
|
||||
if (constant_table) ID3DXConstantTable_Release(constant_table);
|
||||
|
||||
hr = D3DXGetShaderConstantTableEx(shader_with_ctab, 0, &constant_table);
|
||||
|
|
Loading…
Reference in New Issue