Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
1fab15a7
Commit
1fab15a7
authored
Aug 31, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm/tests: Fix compilation on systems that don't support nameless unions.
parent
e168876d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vector.c
dlls/d3drm/tests/vector.c
+4
-4
No files found.
dlls/d3drm/tests/vector.c
View file @
1fab15a7
...
@@ -141,7 +141,7 @@ static void VectorTest(void)
...
@@ -141,7 +141,7 @@ static void VectorTest(void)
U1
(
e
).
x
=
6
.
0
f
;
U2
(
e
).
y
=
6
.
0
f
;
U3
(
e
).
z
=
1
.
0
f
;
U1
(
e
).
x
=
6
.
0
f
;
U2
(
e
).
y
=
6
.
0
f
;
U3
(
e
).
z
=
1
.
0
f
;
expect_vec
(
e
,
r
);
expect_vec
(
e
,
r
);
U1
(
self
).
x
=
9
.
0
f
;
U
1
(
self
).
y
=
18
.
0
f
;
U3
(
self
).
z
=
27
.
0
f
;
U1
(
self
).
x
=
9
.
0
f
;
U
2
(
self
).
y
=
18
.
0
f
;
U3
(
self
).
z
=
27
.
0
f
;
pD3DRMVectorAdd
(
&
self
,
&
self
,
&
u
);
pD3DRMVectorAdd
(
&
self
,
&
self
,
&
u
);
U1
(
e
).
x
=
11
.
0
f
;
U2
(
e
).
y
=
20
.
0
f
;
U3
(
e
).
z
=
28
.
0
f
;
U1
(
e
).
x
=
11
.
0
f
;
U2
(
e
).
y
=
20
.
0
f
;
U3
(
e
).
z
=
28
.
0
f
;
expect_vec
(
e
,
self
);
expect_vec
(
e
,
self
);
...
@@ -151,7 +151,7 @@ static void VectorTest(void)
...
@@ -151,7 +151,7 @@ static void VectorTest(void)
U1
(
e
).
x
=-
2
.
0
f
;
U2
(
e
).
y
=-
2
.
0
f
;
U3
(
e
).
z
=
1
.
0
f
;
U1
(
e
).
x
=-
2
.
0
f
;
U2
(
e
).
y
=-
2
.
0
f
;
U3
(
e
).
z
=
1
.
0
f
;
expect_vec
(
e
,
r
);
expect_vec
(
e
,
r
);
U1
(
self
).
x
=
9
.
0
f
;
U
1
(
self
).
y
=
18
.
0
f
;
U3
(
self
).
z
=
27
.
0
f
;
U1
(
self
).
x
=
9
.
0
f
;
U
2
(
self
).
y
=
18
.
0
f
;
U3
(
self
).
z
=
27
.
0
f
;
pD3DRMVectorSubtract
(
&
self
,
&
self
,
&
u
);
pD3DRMVectorSubtract
(
&
self
,
&
self
,
&
u
);
U1
(
e
).
x
=
7
.
0
f
;
U2
(
e
).
y
=
16
.
0
f
;
U3
(
e
).
z
=
26
.
0
f
;
U1
(
e
).
x
=
7
.
0
f
;
U2
(
e
).
y
=
16
.
0
f
;
U3
(
e
).
z
=
26
.
0
f
;
expect_vec
(
e
,
self
);
expect_vec
(
e
,
self
);
...
@@ -161,7 +161,7 @@ static void VectorTest(void)
...
@@ -161,7 +161,7 @@ static void VectorTest(void)
U1
(
e
).
x
=-
4
.
0
f
;
U2
(
e
).
y
=
4
.
0
f
;
U3
(
e
).
z
=
0
.
0
f
;
U1
(
e
).
x
=-
4
.
0
f
;
U2
(
e
).
y
=
4
.
0
f
;
U3
(
e
).
z
=
0
.
0
f
;
expect_vec
(
e
,
r
);
expect_vec
(
e
,
r
);
U1
(
self
).
x
=
9
.
0
f
;
U
1
(
self
).
y
=
18
.
0
f
;
U3
(
self
).
z
=
27
.
0
f
;
U1
(
self
).
x
=
9
.
0
f
;
U
2
(
self
).
y
=
18
.
0
f
;
U3
(
self
).
z
=
27
.
0
f
;
pD3DRMVectorCrossProduct
(
&
self
,
&
self
,
&
u
);
pD3DRMVectorCrossProduct
(
&
self
,
&
self
,
&
u
);
U1
(
e
).
x
=-
36
.
0
f
;
U2
(
e
).
y
=
45
.
0
f
;
U3
(
e
).
z
=-
18
.
0
f
;
U1
(
e
).
x
=-
36
.
0
f
;
U2
(
e
).
y
=
45
.
0
f
;
U3
(
e
).
z
=-
18
.
0
f
;
expect_vec
(
e
,
self
);
expect_vec
(
e
,
self
);
...
@@ -218,7 +218,7 @@ static void VectorTest(void)
...
@@ -218,7 +218,7 @@ static void VectorTest(void)
U1
(
e
).
x
=
10
.
0
f
;
U2
(
e
).
y
=
10
.
0
f
;
U3
(
e
).
z
=
0
.
0
f
;
U1
(
e
).
x
=
10
.
0
f
;
U2
(
e
).
y
=
10
.
0
f
;
U3
(
e
).
z
=
0
.
0
f
;
expect_vec
(
e
,
r
);
expect_vec
(
e
,
r
);
U1
(
self
).
x
=
9
.
0
f
;
U
1
(
self
).
y
=
18
.
0
f
;
U3
(
self
).
z
=
27
.
0
f
;
U1
(
self
).
x
=
9
.
0
f
;
U
2
(
self
).
y
=
18
.
0
f
;
U3
(
self
).
z
=
27
.
0
f
;
pD3DRMVectorScale
(
&
self
,
&
self
,
2
);
pD3DRMVectorScale
(
&
self
,
&
self
,
2
);
U1
(
e
).
x
=
18
.
0
f
;
U2
(
e
).
y
=
36
.
0
f
;
U3
(
e
).
z
=
54
.
0
f
;
U1
(
e
).
x
=
18
.
0
f
;
U2
(
e
).
y
=
36
.
0
f
;
U3
(
e
).
z
=
54
.
0
f
;
expect_vec
(
e
,
self
);
expect_vec
(
e
,
self
);
...
...
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