Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a17d5181
Commit
a17d5181
authored
May 18, 2013
by
Francois Gouget
Committed by
Alexandre Julliard
May 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm/tests: Fix compilation on systems that don't support nameless unions.
parent
546c5870
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
d3drm.c
dlls/d3drm/tests/d3drm.c
+24
-24
No files found.
dlls/d3drm/tests/d3drm.c
View file @
a17d5181
...
...
@@ -856,41 +856,41 @@ static void test_Face(void)
ok
(
count
==
3
,
"Wrong number of vertices %d (must be 3)
\n
"
,
count
);
ok
(
U1
(
v2
[
0
]).
x
==
U1
(
v1
[
0
]).
x
,
"Wrong component v2[0].x = %f (expected %f)
\n
"
,
U1
(
v2
[
0
]).
x
,
U1
(
v1
[
0
]).
x
);
ok
(
U
1
(
v2
[
0
]).
y
==
U1
(
v1
[
0
]).
y
,
"Wrong component v2[0].y = %f (expected %f)
\n
"
,
U
1
(
v2
[
0
]).
y
,
U1
(
v1
[
0
]).
y
);
ok
(
U
1
(
v2
[
0
]).
z
==
U1
(
v1
[
0
]).
z
,
"Wrong component v2[0].z = %f (expected %f)
\n
"
,
U
1
(
v2
[
0
]).
z
,
U1
(
v1
[
0
]).
z
);
ok
(
U
2
(
v2
[
0
]).
y
==
U2
(
v1
[
0
]).
y
,
"Wrong component v2[0].y = %f (expected %f)
\n
"
,
U
2
(
v2
[
0
]).
y
,
U2
(
v1
[
0
]).
y
);
ok
(
U
3
(
v2
[
0
]).
z
==
U3
(
v1
[
0
]).
z
,
"Wrong component v2[0].z = %f (expected %f)
\n
"
,
U
3
(
v2
[
0
]).
z
,
U3
(
v1
[
0
]).
z
);
ok
(
U1
(
v2
[
1
]).
x
==
U1
(
v1
[
1
]).
x
,
"Wrong component v2[1].x = %f (expected %f)
\n
"
,
U1
(
v2
[
1
]).
x
,
U1
(
v1
[
1
]).
x
);
ok
(
U
1
(
v2
[
1
]).
y
==
U1
(
v1
[
1
]).
y
,
"Wrong component v2[1].y = %f (expected %f)
\n
"
,
U
1
(
v2
[
1
]).
y
,
U1
(
v1
[
1
]).
y
);
ok
(
U
1
(
v2
[
1
]).
z
==
U1
(
v1
[
1
]).
z
,
"Wrong component v2[1].z = %f (expected %f)
\n
"
,
U
1
(
v2
[
1
]).
z
,
U1
(
v1
[
1
]).
z
);
ok
(
U
2
(
v2
[
1
]).
y
==
U2
(
v1
[
1
]).
y
,
"Wrong component v2[1].y = %f (expected %f)
\n
"
,
U
2
(
v2
[
1
]).
y
,
U2
(
v1
[
1
]).
y
);
ok
(
U
3
(
v2
[
1
]).
z
==
U3
(
v1
[
1
]).
z
,
"Wrong component v2[1].z = %f (expected %f)
\n
"
,
U
3
(
v2
[
1
]).
z
,
U3
(
v1
[
1
]).
z
);
ok
(
U1
(
v2
[
2
]).
x
==
U1
(
v1
[
2
]).
x
,
"Wrong component v2[2].x = %f (expected %f)
\n
"
,
U1
(
v2
[
2
]).
x
,
U1
(
v1
[
2
]).
x
);
ok
(
U
1
(
v2
[
2
]).
y
==
U1
(
v1
[
2
]).
y
,
"Wrong component v2[2].y = %f (expected %f)
\n
"
,
U
1
(
v2
[
2
]).
y
,
U1
(
v1
[
2
]).
y
);
ok
(
U
1
(
v2
[
2
]).
z
==
U1
(
v1
[
2
]).
z
,
"Wrong component v2[2].z = %f (expected %f)
\n
"
,
U
1
(
v2
[
2
]).
z
,
U1
(
v1
[
2
]).
z
);
ok
(
U
2
(
v2
[
2
]).
y
==
U2
(
v1
[
2
]).
y
,
"Wrong component v2[2].y = %f (expected %f)
\n
"
,
U
2
(
v2
[
2
]).
y
,
U2
(
v1
[
2
]).
y
);
ok
(
U
3
(
v2
[
2
]).
z
==
U3
(
v1
[
2
]).
z
,
"Wrong component v2[2].z = %f (expected %f)
\n
"
,
U
3
(
v2
[
2
]).
z
,
U3
(
v1
[
2
]).
z
);
ok
(
U1
(
n2
[
0
]).
x
==
U1
(
n1
[
0
]).
x
,
"Wrong component n2[0].x = %f (expected %f)
\n
"
,
U1
(
n2
[
0
]).
x
,
U1
(
n1
[
0
]).
x
);
ok
(
U
1
(
n2
[
0
]).
y
==
U1
(
n1
[
0
]).
y
,
"Wrong component n2[0].y = %f (expected %f)
\n
"
,
U
1
(
n2
[
0
]).
y
,
U1
(
n1
[
0
]).
y
);
ok
(
U
1
(
n2
[
0
]).
z
==
U1
(
n1
[
0
]).
z
,
"Wrong component n2[0].z = %f (expected %f)
\n
"
,
U
1
(
n2
[
0
]).
z
,
U1
(
n1
[
0
]).
z
);
ok
(
U
2
(
n2
[
0
]).
y
==
U2
(
n1
[
0
]).
y
,
"Wrong component n2[0].y = %f (expected %f)
\n
"
,
U
2
(
n2
[
0
]).
y
,
U2
(
n1
[
0
]).
y
);
ok
(
U
3
(
n2
[
0
]).
z
==
U3
(
n1
[
0
]).
z
,
"Wrong component n2[0].z = %f (expected %f)
\n
"
,
U
3
(
n2
[
0
]).
z
,
U3
(
n1
[
0
]).
z
);
ok
(
U1
(
n2
[
1
]).
x
==
U1
(
n1
[
1
]).
x
,
"Wrong component n2[1].x = %f (expected %f)
\n
"
,
U1
(
n2
[
1
]).
x
,
U1
(
n1
[
1
]).
x
);
ok
(
U
1
(
n2
[
1
]).
y
==
U1
(
n1
[
1
]).
y
,
"Wrong component n2[1].y = %f (expected %f)
\n
"
,
U
1
(
n2
[
1
]).
y
,
U1
(
n1
[
1
]).
y
);
ok
(
U
1
(
n2
[
1
]).
z
==
U1
(
n1
[
1
]).
z
,
"Wrong component n2[1].z = %f (expected %f)
\n
"
,
U
1
(
n2
[
1
]).
z
,
U1
(
n1
[
1
]).
z
);
ok
(
U
2
(
n2
[
1
]).
y
==
U2
(
n1
[
1
]).
y
,
"Wrong component n2[1].y = %f (expected %f)
\n
"
,
U
2
(
n2
[
1
]).
y
,
U2
(
n1
[
1
]).
y
);
ok
(
U
3
(
n2
[
1
]).
z
==
U3
(
n1
[
1
]).
z
,
"Wrong component n2[1].z = %f (expected %f)
\n
"
,
U
3
(
n2
[
1
]).
z
,
U3
(
n1
[
1
]).
z
);
ok
(
U1
(
n2
[
2
]).
x
==
U1
(
n1
[
2
]).
x
,
"Wrong component n2[2].x = %f (expected %f)
\n
"
,
U1
(
n2
[
2
]).
x
,
U1
(
n1
[
2
]).
x
);
ok
(
U
1
(
n2
[
2
]).
y
==
U1
(
n1
[
2
]).
y
,
"Wrong component n2[2].y = %f (expected %f)
\n
"
,
U
1
(
n2
[
2
]).
y
,
U1
(
n1
[
2
]).
y
);
ok
(
U
1
(
n2
[
2
]).
z
==
U1
(
n1
[
2
]).
z
,
"Wrong component n2[2].z = %f (expected %f)
\n
"
,
U
1
(
n2
[
2
]).
z
,
U1
(
n1
[
2
]).
z
);
ok
(
U
2
(
n2
[
2
]).
y
==
U2
(
n1
[
2
]).
y
,
"Wrong component n2[2].y = %f (expected %f)
\n
"
,
U
2
(
n2
[
2
]).
y
,
U2
(
n1
[
2
]).
y
);
ok
(
U
3
(
n2
[
2
]).
z
==
U3
(
n1
[
2
]).
z
,
"Wrong component n2[2].z = %f (expected %f)
\n
"
,
U
3
(
n2
[
2
]).
z
,
U3
(
n1
[
2
]).
z
);
IDirect3DRMFace_Release
(
face
);
IDirect3DRMFaceArray_Release
(
array1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment