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
ce49a4ae
Commit
ce49a4ae
authored
Jan 28, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10/tests: Also try a WARP device in create_device().
parent
5e3cadf8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
device.c
dlls/d3d10/tests/device.c
+2
-3
effect.c
dlls/d3d10/tests/effect.c
+2
-3
No files found.
dlls/d3d10/tests/device.c
View file @
ce49a4ae
...
...
@@ -27,12 +27,11 @@ static ID3D10Device *create_device(void)
if
(
SUCCEEDED
(
D3D10CreateDevice
(
NULL
,
D3D10_DRIVER_TYPE_HARDWARE
,
NULL
,
0
,
D3D10_SDK_VERSION
,
&
device
)))
return
device
;
trace
(
"Failed to create a HW device, trying REF
\n
"
)
;
if
(
SUCCEEDED
(
D3D10CreateDevice
(
NULL
,
D3D10_DRIVER_TYPE_WARP
,
NULL
,
0
,
D3D10_SDK_VERSION
,
&
device
)))
return
device
;
if
(
SUCCEEDED
(
D3D10CreateDevice
(
NULL
,
D3D10_DRIVER_TYPE_REFERENCE
,
NULL
,
0
,
D3D10_SDK_VERSION
,
&
device
)))
return
device
;
trace
(
"Failed to create a device, returning NULL
\n
"
);
return
NULL
;
}
...
...
dlls/d3d10/tests/effect.c
View file @
ce49a4ae
...
...
@@ -29,12 +29,11 @@ static ID3D10Device *create_device(void)
if
(
SUCCEEDED
(
D3D10CreateDevice
(
NULL
,
D3D10_DRIVER_TYPE_HARDWARE
,
NULL
,
0
,
D3D10_SDK_VERSION
,
&
device
)))
return
device
;
trace
(
"Failed to create a HW device, trying REF
\n
"
)
;
if
(
SUCCEEDED
(
D3D10CreateDevice
(
NULL
,
D3D10_DRIVER_TYPE_WARP
,
NULL
,
0
,
D3D10_SDK_VERSION
,
&
device
)))
return
device
;
if
(
SUCCEEDED
(
D3D10CreateDevice
(
NULL
,
D3D10_DRIVER_TYPE_REFERENCE
,
NULL
,
0
,
D3D10_SDK_VERSION
,
&
device
)))
return
device
;
trace
(
"Failed to create a device, returning NULL
\n
"
);
return
NULL
;
}
...
...
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