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
8b405d5d
Commit
8b405d5d
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: Load transform matrix and aply it to the current frame.
parent
0d3807db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
d3drm.c
dlls/d3drm/d3drm.c
+21
-0
No files found.
dlls/d3drm/d3drm.c
View file @
8b405d5d
...
...
@@ -1423,6 +1423,27 @@ HRESULT load_data(IDirect3DRM3* iface, LPDIRECTXFILEDATA data_object, LPIID* GUI
FIXME
(
"Processing material not supported yet
\n
"
);
}
}
else
if
(
IsEqualGUID
(
guid
,
&
TID_D3DRMFrameTransformMatrix
))
{
TRACE
(
"Found TID_D3DRMFrameTransformMatrix
\n
"
);
if
(
parent_frame
)
{
D3DRMMATRIX4D
matrix
;
DWORD
size
;
TRACE
(
"Load Frame Transform Matrix data
\n
"
);
size
=
sizeof
(
matrix
);
hr
=
IDirectXFileData_GetData
(
data_object
,
NULL
,
&
size
,
(
void
**
)
matrix
);
if
((
hr
!=
DXFILE_OK
)
||
(
size
!=
sizeof
(
matrix
)))
goto
end
;
hr
=
IDirect3DRMFrame3_AddTransform
(
parent_frame
,
D3DRMCOMBINE_REPLACE
,
matrix
);
if
(
FAILED
(
hr
))
goto
end
;
}
}
else
{
FIXME
(
"Found unknown TID %s
\n
"
,
debugstr_guid
(
guid
));
...
...
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