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
fe4e2bf6
Commit
fe4e2bf6
authored
Dec 21, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix a couple of test messages.
parent
4a30db74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
d3d.c
dlls/ddraw/tests/d3d.c
+8
-8
No files found.
dlls/ddraw/tests/d3d.c
View file @
fe4e2bf6
...
...
@@ -1247,7 +1247,7 @@ static void Direct3D1Test(void)
ok
(
cmp
[
i
].
x
==
out
[
i
].
x
&&
cmp
[
i
].
y
==
out
[
i
].
y
&&
cmp
[
i
].
z
==
out
[
i
].
z
&&
cmp
[
i
].
rhw
==
out
[
i
].
rhw
,
"Vertex %d differs. Got %f %f %f %f, expe
x
ted %f %f %f %f
\n
"
,
i
+
1
,
"Vertex %d differs. Got %f %f %f %f, expe
c
ted %f %f %f %f
\n
"
,
i
+
1
,
out
[
i
].
x
,
out
[
i
].
y
,
out
[
i
].
z
,
out
[
i
].
rhw
,
cmp
[
i
].
x
,
cmp
[
i
].
y
,
cmp
[
i
].
z
,
cmp
[
i
].
rhw
);
}
...
...
@@ -1274,7 +1274,7 @@ static void Direct3D1Test(void)
};
ok
(
cmp
[
i
].
x
==
out
[
i
].
x
&&
cmp
[
i
].
y
==
out
[
i
].
y
&&
cmp
[
i
].
z
==
out
[
i
].
z
&&
cmp
[
i
].
rhw
==
out
[
i
].
rhw
,
"Vertex %d differs. Got %f %f %f %f, expe
x
ted %f %f %f %f
\n
"
,
i
+
1
,
"Vertex %d differs. Got %f %f %f %f, expe
c
ted %f %f %f %f
\n
"
,
i
+
1
,
out
[
i
].
x
,
out
[
i
].
y
,
out
[
i
].
z
,
out
[
i
].
rhw
,
cmp
[
i
].
x
,
cmp
[
i
].
y
,
cmp
[
i
].
z
,
cmp
[
i
].
rhw
);
}
...
...
@@ -1296,7 +1296,7 @@ static void Direct3D1Test(void)
};
ok
(
cmp
[
i
].
x
==
out
[
i
].
x
&&
cmp
[
i
].
y
==
out
[
i
].
y
&&
cmp
[
i
].
z
==
out
[
i
].
z
&&
cmp
[
i
].
rhw
==
out
[
i
].
rhw
,
"Vertex %d differs. Got %f %f %f %f, expe
x
ted %f %f %f %f
\n
"
,
i
+
1
,
"Vertex %d differs. Got %f %f %f %f, expe
c
ted %f %f %f %f
\n
"
,
i
+
1
,
out
[
i
].
x
,
out
[
i
].
y
,
out
[
i
].
z
,
out
[
i
].
rhw
,
cmp
[
i
].
x
,
cmp
[
i
].
y
,
cmp
[
i
].
z
,
cmp
[
i
].
rhw
);
}
...
...
@@ -1315,7 +1315,7 @@ static void Direct3D1Test(void)
};
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, expe
x
ted %08x %f %f %f
\n
"
,
i
+
1
,
"HVertex %d differs. Got %08x %f %f %f, expe
c
ted %08x %f %f %f
\n
"
,
i
+
1
,
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
);
...
...
@@ -1332,7 +1332,7 @@ static void Direct3D1Test(void)
};
ok
(
cmp
[
i
].
x
==
out
[
i
].
x
&&
cmp
[
i
].
y
==
out
[
i
].
y
&&
cmp
[
i
].
z
==
out
[
i
].
z
&&
cmp
[
i
].
rhw
==
out
[
i
].
rhw
,
"Vertex %d differs. Got %f %f %f %f, expe
x
ted %f %f %f %f
\n
"
,
i
+
1
,
"Vertex %d differs. Got %f %f %f %f, expe
c
ted %f %f %f %f
\n
"
,
i
+
1
,
out
[
i
].
x
,
out
[
i
].
y
,
out
[
i
].
z
,
out
[
i
].
rhw
,
cmp
[
i
].
x
,
cmp
[
i
].
y
,
cmp
[
i
].
z
,
cmp
[
i
].
rhw
);
}
...
...
@@ -1358,7 +1358,7 @@ static void Direct3D1Test(void)
D3DCLIP_LEFT
|
D3DCLIP_BOTTOM
|
D3DCLIP_FRONT
,
};
ok
(
Flags
[
i
]
==
outH
[
i
].
dwFlags
,
"Cliptest %d differs. Got %08x expe
x
ted %08x
\n
"
,
i
+
1
,
"Cliptest %d differs. Got %08x expe
c
ted %08x
\n
"
,
i
+
1
,
outH
[
i
].
dwFlags
,
Flags
[
i
]);
}
...
...
@@ -1382,7 +1382,7 @@ static void Direct3D1Test(void)
D3DCLIP_LEFT
|
D3DCLIP_FRONT
,
};
ok
(
Flags
[
i
]
==
outH
[
i
].
dwFlags
,
"Cliptest %d differs. Got %08x expe
x
ted %08x
\n
"
,
i
+
1
,
"Cliptest %d differs. Got %08x expe
c
ted %08x
\n
"
,
i
+
1
,
outH
[
i
].
dwFlags
,
Flags
[
i
]);
}
...
...
@@ -1407,7 +1407,7 @@ static void Direct3D1Test(void)
D3DCLIP_FRONT
,
};
ok
(
Flags
[
i
]
==
outH
[
i
].
dwFlags
,
"Cliptest %d differs. Got %08x expe
x
ted %08x
\n
"
,
i
+
1
,
"Cliptest %d differs. Got %08x expe
c
ted %08x
\n
"
,
i
+
1
,
outH
[
i
].
dwFlags
,
Flags
[
i
]);
}
...
...
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