Re: [1/2] d3dx9/tests: Fix a failure on 64 bits.
12 Oct
2010
12 Oct
'10
10:39 a.m.
Matteo Bruni <matteo.mystral(a)gmail.com> writes:
@@ -131,7 +131,9 @@ 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); + /* Native on 64 bit doesn't check for invalid data */ + ok(hr == D3DXERR_INVALIDDATA || (hr == D3D_OK && sizeof(DWORD) != sizeof(DWORD_PTR)), + "Got result %x, expected %x (D3DXERR_INVALIDDATA)\n", hr, D3DXERR_INVALIDDATA);
This doesn't seem to have much to do with 64-bit, it looks more like a broken implementation. -- Alexandre Julliard julliard(a)winehq.org
5545
Age (days ago)
5545
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard