Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
055e2c16
Commit
055e2c16
authored
Nov 18, 2023
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evr/presenter: Handle failure to initialize D3D9.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
f27dd774
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
presenter.c
dlls/evr/presenter.c
+5
-0
No files found.
dlls/evr/presenter.c
View file @
055e2c16
...
...
@@ -2119,6 +2119,11 @@ static HRESULT video_presenter_init_d3d(struct video_presenter *presenter)
HRESULT
hr
;
d3d
=
Direct3DCreate9
(
D3D_SDK_VERSION
);
if
(
!
d3d
)
{
WARN
(
"Failed to initialize d3d9.
\n
"
);
return
E_FAIL
;
}
present_params
.
BackBufferCount
=
1
;
present_params
.
SwapEffect
=
D3DSWAPEFFECT_COPY
;
...
...
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