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
95b7cda6
Commit
95b7cda6
authored
Sep 15, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Sep 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Mark a strange radeon X1600 Windows behavior broken.
parent
81a9f19b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
d3d.c
dlls/ddraw/tests/d3d.c
+6
-2
No files found.
dlls/ddraw/tests/d3d.c
View file @
95b7cda6
...
...
@@ -4401,8 +4401,12 @@ static HRESULT WINAPI enum_z_fmt_cb(DDPIXELFORMAT *fmt, void *ctx)
if
(
U1
(
*
fmt
).
dwZBufferBitDepth
==
24
)
expected_pitch
=
ddsd
.
dwWidth
*
4
;
else
expected_pitch
=
ddsd
.
dwWidth
*
U1
(
*
fmt
).
dwZBufferBitDepth
/
8
;
/* Some formats(16 bit depth without stencil) return pitch 0 */
if
(
U1
(
ddsd
).
lPitch
!=
0
&&
U1
(
ddsd
).
lPitch
!=
expected_pitch
)
/* Some formats(16 bit depth without stencil) return pitch 0
*
* The Radeon X1600 Catalyst 10.2 Windows XP driver returns an otherwise sane
* pitch with an extra 128 bytes, regardless of the format and width */
if
(
U1
(
ddsd
).
lPitch
!=
0
&&
U1
(
ddsd
).
lPitch
!=
expected_pitch
&&
!
broken
(
U1
(
ddsd
).
lPitch
==
expected_pitch
+
128
))
{
ok
(
0
,
"Z buffer pitch is %u, expected %u
\n
"
,
U1
(
ddsd
).
lPitch
,
expected_pitch
);
dump_format
(
fmt
);
...
...
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