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
cb4ba6a8
Commit
cb4ba6a8
authored
Jul 03, 2010
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Ignore a Windows 7 failure in the d3d9 depth clamp test.
parent
604f79db
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
visual.c
dlls/d3d9/tests/visual.c
+11
-0
No files found.
dlls/d3d9/tests/visual.c
View file @
cb4ba6a8
...
...
@@ -10862,6 +10862,17 @@ static void depth_clamp_test(IDirect3DDevice9 *device)
vp
.
MaxZ
=
7
.
5
;
hr
=
IDirect3DDevice9_SetViewport
(
device
,
&
vp
);
if
(
FAILED
(
hr
))
{
/* Windows 7 rejects MaxZ > 1.0, Windows XP allows it. This doesn't break
* the tests because the 7.5 is just intended to show that it doesn't have
* any influence on the drawing or D3DRS_CLIPPING = FALSE. Set an accepted
* viewport and continue.
*/
ok
(
broken
(
hr
==
D3DERR_INVALIDCALL
),
"D3D rejected maxZ > 1.0
\n
"
);
vp
.
MaxZ
=
1
.
0
;
hr
=
IDirect3DDevice9_SetViewport
(
device
,
&
vp
);
}
ok
(
SUCCEEDED
(
hr
),
"SetViewport failed, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DDevice9_Clear
(
device
,
0
,
NULL
,
D3DCLEAR_TARGET
|
D3DCLEAR_ZBUFFER
,
0xffffffff
,
1
.
0
,
0
);
...
...
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