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
9e44f89d
Commit
9e44f89d
authored
May 17, 2012
by
Christian Costa
Committed by
Alexandre Julliard
May 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Implement IDirect3DRMFrameX_AddTransform.
parent
8b405d5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
frame.c
dlls/d3drm/frame.c
+23
-4
No files found.
dlls/d3drm/frame.c
View file @
9e44f89d
...
...
@@ -275,9 +275,9 @@ static HRESULT WINAPI IDirect3DRMFrame2Impl_AddTransform(IDirect3DRMFrame2* ifac
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame2
(
iface
);
FIXME
(
"(%p/%p)->(%u,%p): stub
\n
"
,
iface
,
This
,
type
,
matrix
);
TRACE
(
"(%p/%p)->(%u,%p)
\n
"
,
iface
,
This
,
type
,
matrix
);
return
E_NOTIMPL
;
return
IDirect3DRMFrame3_AddTransform
(
&
This
->
IDirect3DRMFrame3_iface
,
type
,
matrix
)
;
}
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_AddTranslation
(
IDirect3DRMFrame2
*
iface
,
...
...
@@ -1253,9 +1253,28 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_AddTransform(IDirect3DRMFrame3* ifac
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
FIXME
(
"(%p/%p)->(%u,%p): stub
\n
"
,
iface
,
This
,
type
,
matrix
);
TRACE
(
"(%p/%p)->(%u,%p)
\n
"
,
iface
,
This
,
type
,
matrix
);
return
E_NOTIMPL
;
switch
(
type
)
{
case
D3DRMCOMBINE_REPLACE
:
memcpy
(
&
This
->
transform
[
0
][
0
],
&
matrix
[
0
][
0
],
sizeof
(
D3DRMMATRIX4D
));
break
;
case
D3DRMCOMBINE_BEFORE
:
FIXME
(
"D3DRMCOMBINE_BEFORE not supported yed
\n
"
);
break
;
case
D3DRMCOMBINE_AFTER
:
FIXME
(
"D3DRMCOMBINE_AFTER not supported yed
\n
"
);
break
;
default:
WARN
(
"Unknown Combine Type %u
\n
"
,
type
);
return
D3DRMERR_BADVALUE
;
}
return
S_OK
;
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_AddTranslation
(
IDirect3DRMFrame3
*
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