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
2944d233
Commit
2944d233
authored
May 01, 2012
by
André Hentschel
Committed by
Alexandre Julliard
May 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Implement IDirect3DRMFrameX_DeleteLight.
parent
cfa297e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
6 deletions
+22
-6
frame.c
dlls/d3drm/frame.c
+22
-6
No files found.
dlls/d3drm/frame.c
View file @
2944d233
...
...
@@ -501,13 +501,13 @@ static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteChild(IDirect3DRMFrame2* iface
}
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_DeleteLight
(
IDirect3DRMFrame2
*
iface
,
LPDIRECT3DRMLIGHT
light
)
LPDIRECT3DRMLIGHT
light
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame2
(
iface
);
FIXME
(
"(%p/%p)->(%p): stub
\n
"
,
iface
,
This
,
light
);
TRACE
(
"(%p/%p)->(%p)
\n
"
,
iface
,
This
,
light
);
return
E_NOTIMPL
;
return
IDirect3DRMFrame3_DeleteLight
(
&
This
->
IDirect3DRMFrame3_iface
,
light
)
;
}
static
HRESULT
WINAPI
IDirect3DRMFrame2Impl_DeleteMoveCallback
(
IDirect3DRMFrame2
*
iface
,
...
...
@@ -1463,13 +1463,29 @@ static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteChild(IDirect3DRMFrame3* iface
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_DeleteLight
(
IDirect3DRMFrame3
*
iface
,
LPDIRECT3DRMLIGHT
light
)
LPDIRECT3DRMLIGHT
light
)
{
IDirect3DRMFrameImpl
*
This
=
impl_from_IDirect3DRMFrame3
(
iface
);
ULONG
i
;
FIXME
(
"(%p/%p)->(%p): stub
\n
"
,
iface
,
This
,
light
);
TRACE
(
"(%p/%p)->(%p)
\n
"
,
iface
,
This
,
light
);
return
E_NOTIMPL
;
if
(
!
light
)
return
D3DRMERR_BADOBJECT
;
/* Check if visual exists */
for
(
i
=
0
;
i
<
This
->
nb_lights
;
i
++
)
if
(
This
->
lights
[
i
]
==
light
)
break
;
if
(
i
==
This
->
nb_lights
)
return
D3DRMERR_BADVALUE
;
memmove
(
This
->
lights
+
i
,
This
->
lights
+
i
+
1
,
sizeof
(
IDirect3DRMLight
*
)
*
(
This
->
nb_lights
-
1
-
i
));
IDirect3DRMLight_Release
(
light
);
This
->
nb_lights
--
;
return
D3DRM_OK
;
}
static
HRESULT
WINAPI
IDirect3DRMFrame3Impl_DeleteMoveCallback
(
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