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
4a53e89c
Commit
4a53e89c
authored
May 10, 2012
by
Christian Costa
Committed by
Alexandre Julliard
May 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Move some unsafe_impl_from_* call to where variables are declared.
parent
3e242426
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
frame.c
dlls/d3drm/frame.c
+2
-6
No files found.
dlls/d3drm/frame.c
View file @
4a53e89c
...
...
@@ -224,12 +224,10 @@ static HRESULT WINAPI IDirect3DRMFrame2Impl_AddChild(IDirect3DRMFrame2* iface,
LPDIRECT3DRMFRAME
child
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame2
(
iface
);
IDirect3DRMFrameImpl
*
frame
;
IDirect3DRMFrameImpl
*
frame
=
unsafe_impl_from_IDirect3DRMFrame2
((
LPDIRECT3DRMFRAME2
)
child
)
;
TRACE
(
"(%p/%p)->(%p)
\n
"
,
iface
,
This
,
child
);
frame
=
unsafe_impl_from_IDirect3DRMFrame2
((
LPDIRECT3DRMFRAME2
)
child
);
if
(
!
frame
)
return
D3DRMERR_BADOBJECT
;
...
...
@@ -524,12 +522,10 @@ static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteChild(IDirect3DRMFrame2* iface
LPDIRECT3DRMFRAME
frame
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame2
(
iface
);
IDirect3DRMFrameImpl
*
child
;
IDirect3DRMFrameImpl
*
child
=
unsafe_impl_from_IDirect3DRMFrame2
((
LPDIRECT3DRMFRAME2
)
frame
)
;
TRACE
(
"(%p/%p)->(%p)
\n
"
,
iface
,
This
,
frame
);
child
=
unsafe_impl_from_IDirect3DRMFrame2
((
LPDIRECT3DRMFRAME2
)
frame
);
if
(
!
child
)
return
D3DRMERR_BADOBJECT
;
...
...
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