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
a9113f7b
Commit
a9113f7b
authored
Feb 01, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi/tests: Fix a test failure when no adapters are present.
parent
7cc42931
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
device.c
dlls/dxgi/tests/device.c
+3
-1
No files found.
dlls/dxgi/tests/device.c
View file @
a9113f7b
...
...
@@ -36,7 +36,9 @@ static IDXGIDevice *create_device(HMODULE d3d10core)
if
(
FAILED
(
hr
))
goto
cleanup
;
hr
=
IDXGIFactory_EnumAdapters
(
factory
,
0
,
&
adapter
);
ok
(
SUCCEEDED
(
hr
),
"EnumAdapters failed, hr %#x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
)
||
hr
==
DXGI_ERROR_NOT_FOUND
,
/* Some VMware and VirtualBox */
"EnumAdapters failed, hr %#x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
cleanup
;
hr
=
DXGID3D10CreateDevice
(
d3d10core
,
factory
,
adapter
,
0
,
NULL
,
(
void
**
)
&
device
);
...
...
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