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
a56ea6e5
Commit
a56ea6e5
authored
Feb 16, 2014
by
Erich E. Hoover
Committed by
Alexandre Julliard
Aug 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Remove broken tests of D3DTRANSFORM_UNCLIPPED.
parent
09311834
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
d3d.c
dlls/ddraw/tests/d3d.c
+1
-14
No files found.
dlls/ddraw/tests/d3d.c
View file @
a56ea6e5
...
...
@@ -1236,14 +1236,6 @@ static void Direct3D1Test(void)
&
i
);
ok
(
hr
==
D3D_OK
,
"IDirect3DViewport_TransformVertices returned %08x
\n
"
,
hr
);
transformdata
.
lpHOut
=
outH
;
memset
(
outH
,
0xcc
,
sizeof
(
outH
));
hr
=
IDirect3DViewport_TransformVertices
(
Viewport
,
sizeof
(
testverts
)
/
sizeof
(
testverts
[
0
]),
&
transformdata
,
D3DTRANSFORM_UNCLIPPED
,
&
i
);
ok
(
hr
==
D3D_OK
,
"IDirect3DViewport_TransformVertices returned %08x
\n
"
,
hr
);
ok
(
i
==
0
,
"Offscreen is %d
\n
"
,
i
);
for
(
i
=
0
;
i
<
sizeof
(
testverts
)
/
sizeof
(
testverts
[
0
]);
i
++
)
{
static
const
struct
v_out
cmp
[]
=
{
{
128
.
0
,
128
.
0
,
0
.
0
,
1
},
{
129
.
0
,
127
.
0
,
1
.
0
,
1
},
{
127
.
0
,
129
.
0
,
-
1
,
1
},
...
...
@@ -1256,12 +1248,6 @@ static void Direct3D1Test(void)
out
[
i
].
x
,
out
[
i
].
y
,
out
[
i
].
z
,
out
[
i
].
rhw
,
cmp
[
i
].
x
,
cmp
[
i
].
y
,
cmp
[
i
].
z
,
cmp
[
i
].
rhw
);
}
for
(
i
=
0
;
i
<
sizeof
(
outH
);
i
++
)
{
if
(((
unsigned
char
*
)
outH
)[
i
]
!=
0xcc
)
{
ok
(
FALSE
,
"Homogeneous output was generated despite UNCLIPPED flag
\n
"
);
break
;
}
}
SET_VP_DATA
(
vp_data
);
hr
=
IDirect3DViewport_SetViewport
(
Viewport
,
&
vp_data
);
...
...
@@ -1306,6 +1292,7 @@ static void Direct3D1Test(void)
cmp
[
i
].
x
,
cmp
[
i
].
y
,
cmp
[
i
].
z
,
cmp
[
i
].
rhw
);
}
transformdata
.
lpHOut
=
outH
;
memset
(
out
,
0xcc
,
sizeof
(
out
));
hr
=
IDirect3DViewport_TransformVertices
(
Viewport
,
sizeof
(
testverts
)
/
sizeof
(
testverts
[
0
]),
&
transformdata
,
D3DTRANSFORM_CLIPPED
,
...
...
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