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
384b0b35
Commit
384b0b35
authored
Nov 10, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1/tests: Use correct flags constants with D3D11CreateDevice().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
2d12c4f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
d2d1.c
dlls/d2d1/tests/d2d1.c
+3
-3
No files found.
dlls/d2d1/tests/d2d1.c
View file @
384b0b35
...
...
@@ -1066,13 +1066,13 @@ static ID3D11Device *create_d3d11_device(void)
ID3D11Device
*
device
;
if
(
SUCCEEDED
(
D3D11CreateDevice
(
NULL
,
D3D_DRIVER_TYPE_HARDWARE
,
NULL
,
D3D1
0
_CREATE_DEVICE_BGRA_SUPPORT
,
&
level
,
1
,
D3D11_SDK_VERSION
,
&
device
,
NULL
,
NULL
)))
D3D1
1
_CREATE_DEVICE_BGRA_SUPPORT
,
&
level
,
1
,
D3D11_SDK_VERSION
,
&
device
,
NULL
,
NULL
)))
return
device
;
if
(
SUCCEEDED
(
D3D11CreateDevice
(
NULL
,
D3D_DRIVER_TYPE_WARP
,
NULL
,
D3D1
0
_CREATE_DEVICE_BGRA_SUPPORT
,
&
level
,
1
,
D3D11_SDK_VERSION
,
&
device
,
NULL
,
NULL
)))
D3D1
1
_CREATE_DEVICE_BGRA_SUPPORT
,
&
level
,
1
,
D3D11_SDK_VERSION
,
&
device
,
NULL
,
NULL
)))
return
device
;
if
(
SUCCEEDED
(
D3D11CreateDevice
(
NULL
,
D3D_DRIVER_TYPE_REFERENCE
,
NULL
,
D3D1
0
_CREATE_DEVICE_BGRA_SUPPORT
,
&
level
,
1
,
D3D11_SDK_VERSION
,
&
device
,
NULL
,
NULL
)))
D3D1
1
_CREATE_DEVICE_BGRA_SUPPORT
,
&
level
,
1
,
D3D11_SDK_VERSION
,
&
device
,
NULL
,
NULL
)))
return
device
;
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