d3dx9_36/tests: Fix compilation on systems that don't support nameless structs/unions.
Francois Gouget
fgouget at free.fr
Mon Jul 11 05:07:19 CDT 2011
---
dlls/d3dx9_36/tests/line.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3dx9_36/tests/line.c b/dlls/d3dx9_36/tests/line.c
index e03fce5..52c153d 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);
--
1.7.5.4
More information about the wine-patches
mailing list