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
d868f85e
Commit
d868f85e
authored
Mar 21, 2016
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm/tests: Properly initialise context.obj in test_Viewport().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
484c9ae4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
d3drm.c
dlls/d3drm/tests/d3drm.c
+6
-0
No files found.
dlls/d3drm/tests/d3drm.c
View file @
d868f85e
...
...
@@ -1372,6 +1372,9 @@ static void test_Viewport(void)
ok
(
hr
==
D3DRM_OK
,
"expected D3DRM_OK (hr = %x)
\n
"
,
hr
);
context
.
called
=
0
;
hr
=
IDirect3DRMViewport_QueryInterface
(
viewport
,
&
IID_IDirect3DRMObject
,
(
void
**
)
&
context
.
obj
);
ok
(
hr
==
D3DRM_OK
,
"expected D3DRM_OK (hr = %x)
\n
"
,
hr
);
IDirect3DRMObject_Release
(
context
.
obj
);
IDirect3DRMViewport_Release
(
viewport
);
ok
(
context
.
called
==
2
,
"got %d, expected 2
\n
"
,
context
.
called
);
...
...
@@ -1436,6 +1439,9 @@ static void test_Viewport(void)
ok
(
hr
==
D3DRM_OK
,
"expected D3DRM_OK (hr = %x)
\n
"
,
hr
);
context
.
called
=
0
;
hr
=
IDirect3DRMViewport2_QueryInterface
(
viewport2
,
&
IID_IDirect3DRMObject
,
(
void
**
)
&
context
.
obj
);
ok
(
hr
==
D3DRM_OK
,
"expected D3DRM_OK (hr = %x)
\n
"
,
hr
);
IDirect3DRMObject_Release
(
context
.
obj
);
IDirect3DRMViewport2_Release
(
viewport2
);
ok
(
context
.
called
==
2
,
"got %d, expected 2
\n
"
,
context
.
called
);
...
...
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