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
05892c23
Commit
05892c23
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/tests: Skip tests if D3D9 is unusable.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
055e2c16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
evr.c
dlls/evr/tests/evr.c
+9
-0
No files found.
dlls/evr/tests/evr.c
View file @
05892c23
...
...
@@ -3642,8 +3642,17 @@ done:
START_TEST
(
evr
)
{
IMFVideoPresenter
*
presenter
;
IDirect3D9
*
d3d9
;
HRESULT
hr
;
d3d9
=
Direct3DCreate9
(
D3D_SDK_VERSION
);
if
(
!
d3d9
)
{
skip
(
"Failed to initialize D3D9. Skipping EVR tests.
\n
"
);
return
;
}
IDirect3D9_Release
(
d3d9
);
CoInitialize
(
NULL
);
if
(
FAILED
(
hr
=
MFCreateVideoPresenter
(
NULL
,
&
IID_IDirect3DDevice9
,
&
IID_IMFVideoPresenter
,
(
void
**
)
&
presenter
)))
...
...
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