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
74bb01f4
Commit
74bb01f4
authored
Jul 01, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jul 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Fix a test that fails with broken drivers.
parent
60b7f641
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
device.c
dlls/d3d9/tests/device.c
+3
-1
No files found.
dlls/d3d9/tests/device.c
View file @
74bb01f4
...
...
@@ -2014,7 +2014,9 @@ static void test_display_formats()
hr
=
IDirect3D9_CheckDeviceType
(
d3d9
,
Adapter
,
DeviceType
,
x8r8g8b8_format_list
[
i
].
DisplayFormat
,
x8r8g8b8_format_list
[
i
].
BackBufferFormat
,
FALSE
);
if
(
x8r8g8b8_format_list
[
i
].
shouldPass
)
ok
(
hr
==
D3D_OK
,
"format %d %d didn't pass with hr=%#08x
\n
"
,
x8r8g8b8_format_list
[
i
].
DisplayFormat
,
x8r8g8b8_format_list
[
i
].
BackBufferFormat
,
hr
);
ok
(
hr
==
D3D_OK
||
broken
(
hr
==
D3DERR_NOTAVAILABLE
),
"format %d %d didn't pass with hr=%#08x
\n
"
,
x8r8g8b8_format_list
[
i
].
DisplayFormat
,
x8r8g8b8_format_list
[
i
].
BackBufferFormat
,
hr
);
else
ok
(
hr
!=
D3D_OK
,
"format %d %d didn't pass while it was expected to
\n
"
,
x8r8g8b8_format_list
[
i
].
DisplayFormat
,
x8r8g8b8_format_list
[
i
].
BackBufferFormat
);
}
...
...
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