From 076e1cf085244359a2f8d50d142fcc02eef28c86 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 11 Jul 2011 12:07:19 +0200 Subject: [PATCH] d3dx9_36/tests: Fix compilation on systems that don't support nameless structs/unions. --- dlls/d3dx9_36/tests/line.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3dx9_36/tests/line.c b/dlls/d3dx9_36/tests/line.c index e03fce577be..52c153d33bd 100644 --- a/dlls/d3dx9_36/tests/line.c +++ b/dlls/d3dx9_36/tests/line.c @@ -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);