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

Alexandre Julliard julliard at winehq.org
Mon Jul 11 13:17:50 CDT 2011


Module: wine
Branch: master
Commit: 076e1cf085244359a2f8d50d142fcc02eef28c86
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=076e1cf085244359a2f8d50d142fcc02eef28c86

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Jul 11 12:07:19 2011 +0200

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

---

 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);




More information about the wine-cvs mailing list