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
bd09f63b
Commit
bd09f63b
authored
Dec 19, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Remove a redundant IDirect3DDevice7_SetViewport() call.
parent
2db86881
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
d3d.c
dlls/ddraw/tests/d3d.c
+0
-10
No files found.
dlls/ddraw/tests/d3d.c
View file @
bd09f63b
...
@@ -651,16 +651,6 @@ static void ProcessVerticesTest(void)
...
@@ -651,16 +651,6 @@ static void ProcessVerticesTest(void)
ok
(
rc
==
D3D_OK
,
"IDirect3DVertexBuffer::Lock returned: %x
\n
"
,
rc
);
ok
(
rc
==
D3D_OK
,
"IDirect3DVertexBuffer::Lock returned: %x
\n
"
,
rc
);
if
(
!
out
)
goto
out
;
if
(
!
out
)
goto
out
;
/* Keep the viewport simpler, otherwise we get bad numbers to compare */
vp
.
dwX
=
0
;
vp
.
dwY
=
0
;
vp
.
dwWidth
=
100
;
vp
.
dwHeight
=
100
;
vp
.
dvMinZ
=
1
.
0
;
vp
.
dvMaxZ
=
0
.
0
;
rc
=
IDirect3DDevice7_SetViewport
(
lpD3DDevice
,
&
vp
);
ok
(
rc
==
D3D_OK
,
"IDirect3DDevice7_SetViewport failed
\n
"
);
/* Check the results */
/* Check the results */
ok
(
compare_vec4
(
&
out
[
0
],
+
2.560e+2
f
,
+
7.000e+1
f
,
-
2.000e+0
f
,
+
3.333e-1
f
,
4096
),
ok
(
compare_vec4
(
&
out
[
0
],
+
2.560e+2
f
,
+
7.000e+1
f
,
-
2.000e+0
f
,
+
3.333e-1
f
,
4096
),
"Got unexpected vertex 0 {%.8e, %.8e, %.8e, %.8e}.
\n
"
,
"Got unexpected vertex 0 {%.8e, %.8e, %.8e, %.8e}.
\n
"
,
...
...
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