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
7e001ae6
Commit
7e001ae6
authored
Jun 07, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Jun 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Implement IDirect3DRMViewportX_[Get|Set]Projection.
parent
9a8b788d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
viewport.c
dlls/d3drm/viewport.c
+11
-8
No files found.
dlls/d3drm/viewport.c
View file @
7e001ae6
...
...
@@ -39,6 +39,7 @@ typedef struct {
D3DVALUE
back
;
D3DVALUE
front
;
D3DVALUE
field
;
D3DRMPROJECTIONTYPE
projection
;
}
IDirect3DRMViewportImpl
;
static
inline
IDirect3DRMViewportImpl
*
impl_from_IDirect3DRMViewport
(
IDirect3DRMViewport
*
iface
)
...
...
@@ -269,9 +270,9 @@ static HRESULT WINAPI IDirect3DRMViewportImpl_SetProjection(IDirect3DRMViewport*
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport
(
iface
);
FIXME
(
"(%p/%p)->(%u): stub
\n
"
,
iface
,
This
,
type
);
TRACE
(
"(%p/%p)->(%u)
\n
"
,
iface
,
This
,
type
);
return
S_OK
;
return
IDirect3DRMViewport2_SetProjection
(
&
This
->
IDirect3DRMViewport2_iface
,
type
)
;
}
static
HRESULT
WINAPI
IDirect3DRMViewportImpl_Transform
(
IDirect3DRMViewport
*
iface
,
...
...
@@ -442,9 +443,9 @@ static D3DRMPROJECTIONTYPE WINAPI IDirect3DRMViewportImpl_GetProjection(IDirect3
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport
(
iface
);
FIXME
(
"(%p/%p)->(): stub
\n
"
,
iface
,
This
);
TRACE
(
"(%p/%p)->()
\n
"
,
iface
,
This
);
return
E_NOTIMPL
;
return
IDirect3DRMViewport2_GetProjection
(
&
This
->
IDirect3DRMViewport2_iface
)
;
}
static
HRESULT
WINAPI
IDirect3DRMViewportImpl_GetDirect3DViewport
(
IDirect3DRMViewport
*
iface
,
...
...
@@ -696,9 +697,11 @@ static HRESULT WINAPI IDirect3DRMViewport2Impl_SetProjection(IDirect3DRMViewport
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport2
(
iface
);
FIXME
(
"(%p/%p)->(%u): stub
\n
"
,
iface
,
This
,
type
);
TRACE
(
"(%p/%p)->(%u)
\n
"
,
iface
,
This
,
type
);
return
S_OK
;
This
->
projection
=
type
;
return
D3DRM_OK
;
}
static
HRESULT
WINAPI
IDirect3DRMViewport2Impl_Transform
(
IDirect3DRMViewport2
*
iface
,
...
...
@@ -869,9 +872,9 @@ static D3DRMPROJECTIONTYPE WINAPI IDirect3DRMViewport2Impl_GetProjection(IDirect
{
IDirect3DRMViewportImpl
*
This
=
impl_from_IDirect3DRMViewport2
(
iface
);
FIXME
(
"(%p/%p)->(): stub
\n
"
,
iface
,
This
);
TRACE
(
"(%p/%p)->()
\n
"
,
iface
,
This
);
return
E_NOTIMPL
;
return
This
->
projection
;
}
static
HRESULT
WINAPI
IDirect3DRMViewport2Impl_GetDirect3DViewport
(
IDirect3DRMViewport2
*
iface
,
...
...
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