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
340f5734
Commit
340f5734
authored
Jul 14, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix a failing test on 64-bit.
parent
9bfd49b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
refcount.c
dlls/ddraw/tests/refcount.c
+8
-0
No files found.
dlls/ddraw/tests/refcount.c
View file @
340f5734
...
...
@@ -358,6 +358,14 @@ static void test_d3d_ifaces(void)
ok
(
ref
==
1
,
"IDirectDraw reference count is %ld
\n
"
,
ref
);
hr
=
IDirectDraw_QueryInterface
(
DDraw1
,
&
IID_IDirect3D
,
(
void
**
)
&
D3D1
);
if
(
hr
==
E_NOINTERFACE
)
/* win64 */
{
IDirectDraw4_Release
(
DDraw4
);
IDirectDraw2_Release
(
DDraw2
);
IDirectDraw_Release
(
DDraw1
);
skip
(
"no IDirect3D support
\n
"
);
return
;
}
ok
(
hr
==
DD_OK
,
"IDirectDraw_QueryInterface returned %08x
\n
"
,
hr
);
ref
=
getRefcount
(
(
IUnknown
*
)
DDraw4
);
ok
(
ref
==
1
,
"IDirectDraw4 reference count is %ld
\n
"
,
ref
);
...
...
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