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
870bb4e6
Commit
870bb4e6
authored
Apr 22, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Apr 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream/tests: Handle directdraw not being created (Coverity 920).
parent
b12c46be
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
amstream.c
dlls/amstream/tests/amstream.c
+2
-0
No files found.
dlls/amstream/tests/amstream.c
View file @
870bb4e6
...
@@ -52,6 +52,8 @@ static int create_directdraw(void)
...
@@ -52,6 +52,8 @@ static int create_directdraw(void)
hr
=
DirectDrawCreate
(
NULL
,
&
pdd
,
NULL
);
hr
=
DirectDrawCreate
(
NULL
,
&
pdd
,
NULL
);
ok
(
hr
==
DD_OK
,
"DirectDrawCreate returned: %x
\n
"
,
hr
);
ok
(
hr
==
DD_OK
,
"DirectDrawCreate returned: %x
\n
"
,
hr
);
if
(
hr
!=
DD_OK
)
goto
error
;
hr
=
IDirectDraw_QueryInterface
(
pdd
,
&
IID_IDirectDraw7
,
(
LPVOID
*
)
&
pdd7
);
hr
=
IDirectDraw_QueryInterface
(
pdd
,
&
IID_IDirectDraw7
,
(
LPVOID
*
)
&
pdd7
);
ok
(
hr
==
DD_OK
,
"QueryInterface returned: %x
\n
"
,
hr
);
ok
(
hr
==
DD_OK
,
"QueryInterface returned: %x
\n
"
,
hr
);
...
...
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