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
f0354fde
Commit
f0354fde
authored
Oct 03, 2011
by
Ričardas Barkauskas
Committed by
Alexandre Julliard
Oct 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: IDirect3DViewport3, IDirect3DViewport2 and IDirect3DViewport use same implementation.
parent
a6656468
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
d3d.c
dlls/ddraw/tests/d3d.c
+7
-0
No files found.
dlls/ddraw/tests/d3d.c
View file @
f0354fde
...
...
@@ -1186,6 +1186,7 @@ static void ViewportTest(void)
{
HRESULT
hr
;
LPDIRECT3DVIEWPORT2
Viewport2
;
IDirect3DViewport3
*
Viewport3
;
D3DVIEWPORT
vp1_data
,
ret_vp1_data
;
D3DVIEWPORT2
vp2_data
,
ret_vp2_data
;
float
infinity
;
...
...
@@ -1197,6 +1198,12 @@ static void ViewportTest(void)
hr
=
IDirect3DViewport_QueryInterface
(
Viewport
,
&
IID_IDirect3DViewport2
,
(
void
**
)
&
Viewport2
);
ok
(
hr
==
D3D_OK
,
"QueryInterface returned: %x
\n
"
,
hr
);
ok
(
Viewport2
==
(
IDirect3DViewport2
*
)
Viewport
,
"IDirect3DViewport2 iface diffrent from IDirect3DViewport
\n
"
);
hr
=
IDirect3DViewport_QueryInterface
(
Viewport
,
&
IID_IDirect3DViewport3
,
(
void
**
)
&
Viewport3
);
ok
(
hr
==
D3D_OK
,
"QueryInterface returned: %x
\n
"
,
hr
);
ok
(
Viewport3
==
(
IDirect3DViewport3
*
)
Viewport
,
"IDirect3DViewport3 iface diffrent from IDirect3DViewport
\n
"
);
IDirect3DViewport3_Release
(
Viewport3
);
vp1_data
.
dwSize
=
sizeof
(
vp1_data
);
vp1_data
.
dwX
=
0
;
...
...
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