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
382329c1
Commit
382329c1
authored
Jul 07, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix compilation on systems that don't support nameless unions.
parent
26ebe396
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
d3d.c
dlls/ddraw/tests/d3d.c
+4
-4
No files found.
dlls/ddraw/tests/d3d.c
View file @
382329c1
...
...
@@ -1035,11 +1035,11 @@ static void Direct3D1Test(void)
{
D3DCLIP_FRONT
,
{
-
1
.
0
},
{
-
1
.
0
},
{
-
1
.
0
}},
{
0
,
{
0
.
5
},
{
0
.
5
},
{
0
.
5
}},
{
D3DCLIP_FRONT
,
{
-
0
.
5
},
{
-
0
.
5
},
{
-
0
.
5
}},
{
0
,
{
-
0
.
5
},
{
-
0
.
5
},
{
0
.
0
}}
};
ok
(
cmpH
[
i
].
hx
==
outH
[
i
].
hx
&&
cmpH
[
i
].
hy
==
outH
[
i
]
.
hy
&&
cmpH
[
i
].
hz
==
outH
[
i
]
.
hz
&&
cmpH
[
i
].
dwFlags
==
outH
[
i
].
dwFlags
,
ok
(
U1
(
cmpH
[
i
]).
hx
==
U1
(
outH
[
i
]).
hx
&&
U2
(
cmpH
[
i
]).
hy
==
U2
(
outH
[
i
])
.
hy
&&
U3
(
cmpH
[
i
]).
hz
==
U3
(
outH
[
i
])
.
hz
&&
cmpH
[
i
].
dwFlags
==
outH
[
i
].
dwFlags
,
"HVertex %d differs. Got %08x %f %f %f, expexted %08x %f %f %f
\n
"
,
i
+
1
,
outH
[
i
].
dwFlags
,
outH
[
i
].
hx
,
outH
[
i
].
hy
,
outH
[
i
]
.
hz
,
cmpH
[
i
].
dwFlags
,
cmpH
[
i
].
hx
,
cmpH
[
i
].
hy
,
cmpH
[
i
]
.
hz
);
outH
[
i
].
dwFlags
,
U1
(
outH
[
i
]).
hx
,
U2
(
outH
[
i
]).
hy
,
U3
(
outH
[
i
])
.
hz
,
cmpH
[
i
].
dwFlags
,
U1
(
cmpH
[
i
]).
hx
,
U2
(
cmpH
[
i
]).
hy
,
U3
(
cmpH
[
i
])
.
hz
);
/* No scheme has been found behind those return values. It seems to be
* whatever data windows has when throwing the vertex away. Modify the
...
...
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