d3dx9_36/tests: Fix compilation on systems that don't support nameless structs/unions.

This commit is contained in:
Francois Gouget 2011-07-11 12:07:19 +02:00 committed by Alexandre Julliard
parent f00652fc63
commit 076e1cf085
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ static void test_create_line(IDirect3DDevice9* device)
D3DXMatrixIdentity(&world);
D3DXMatrixIdentity(&identity);
world._11 = r11; world._12 = r12; world._13 = r13; world._14 = r14;
S(U(world))._11 = r11; S(U(world))._12 = r12; S(U(world))._13 = r13; S(U(world))._14 = r14;
hr = IDirect3DDevice9_SetTransform(device, D3DTS_WORLD, &world);
ok(hr == D3D_OK, "Got result %x, expected %x (D3D_OK)\n", hr, D3D_OK);