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
c3fa405a
Commit
c3fa405a
authored
Sep 29, 2002
by
Christian Costa
Committed by
Alexandre Julliard
Sep 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement IDirect3DViewport2_DeleteLight.
parent
9747c15a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
d3dviewport.c
dlls/ddraw/d3dviewport.c
+12
-2
No files found.
dlls/ddraw/d3dviewport.c
View file @
c3fa405a
...
...
@@ -311,9 +311,19 @@ HRESULT WINAPI IDirect3DViewport2Impl_DeleteLight(LPDIRECT3DVIEWPORT2 iface,
LPDIRECT3DLIGHT
lpLight
)
{
ICOM_THIS
(
IDirect3DViewport2Impl
,
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
lpLight
);
IDirect3DLightImpl
**
currentlplpLight
;
TRACE
(
"(%p)->(%p): stub
\n
"
,
This
,
lpLight
);
currentlplpLight
=
&
(
This
->
lights
);
while
(
*
currentlplpLight
)
{
if
(
*
currentlplpLight
==
(
IDirect3DLightImpl
*
)
lpLight
)
{
*
currentlplpLight
=
(
*
currentlplpLight
)
->
next
;
return
DD_OK
;
}
currentlplpLight
=
&
((
*
currentlplpLight
)
->
next
);
}
return
DD
_OK
;
return
DD
ERR_INVALIDOBJECT
;
}
HRESULT
WINAPI
IDirect3DViewport2Impl_NextLight
(
LPDIRECT3DVIEWPORT2
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