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
6e9cbf1b
Commit
6e9cbf1b
authored
Jun 07, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Jun 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Implement IDirect3DRMLight_[Get|Set]Penumbra.
parent
e89d2f4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
light.c
dlls/d3drm/light.c
+7
-4
No files found.
dlls/d3drm/light.c
View file @
6e9cbf1b
...
@@ -39,6 +39,7 @@ typedef struct {
...
@@ -39,6 +39,7 @@ typedef struct {
D3DVALUE
lattenuation
;
D3DVALUE
lattenuation
;
D3DVALUE
qattenuation
;
D3DVALUE
qattenuation
;
D3DVALUE
umbra
;
D3DVALUE
umbra
;
D3DVALUE
penumbra
;
}
IDirect3DRMLightImpl
;
}
IDirect3DRMLightImpl
;
static
inline
IDirect3DRMLightImpl
*
impl_from_IDirect3DRMLight
(
IDirect3DRMLight
*
iface
)
static
inline
IDirect3DRMLightImpl
*
impl_from_IDirect3DRMLight
(
IDirect3DRMLight
*
iface
)
...
@@ -239,9 +240,11 @@ static HRESULT WINAPI IDirect3DRMLightImpl_SetPenumbra(IDirect3DRMLight* iface,
...
@@ -239,9 +240,11 @@ static HRESULT WINAPI IDirect3DRMLightImpl_SetPenumbra(IDirect3DRMLight* iface,
{
{
IDirect3DRMLightImpl
*
This
=
impl_from_IDirect3DRMLight
(
iface
);
IDirect3DRMLightImpl
*
This
=
impl_from_IDirect3DRMLight
(
iface
);
FIXME
(
"(%p/%p)->(%f): stub
\n
"
,
iface
,
This
,
penumbra
);
TRACE
(
"(%p/%p)->(%f)
\n
"
,
iface
,
This
,
penumbra
);
return
E_NOTIMPL
;
This
->
penumbra
=
penumbra
;
return
D3DRM_OK
;
}
}
static
HRESULT
WINAPI
IDirect3DRMLightImpl_SetConstantAttenuation
(
IDirect3DRMLight
*
iface
,
static
HRESULT
WINAPI
IDirect3DRMLightImpl_SetConstantAttenuation
(
IDirect3DRMLight
*
iface
,
...
@@ -302,9 +305,9 @@ static D3DVALUE WINAPI IDirect3DRMLightImpl_GetPenumbra(IDirect3DRMLight* iface)
...
@@ -302,9 +305,9 @@ static D3DVALUE WINAPI IDirect3DRMLightImpl_GetPenumbra(IDirect3DRMLight* iface)
{
{
IDirect3DRMLightImpl
*
This
=
impl_from_IDirect3DRMLight
(
iface
);
IDirect3DRMLightImpl
*
This
=
impl_from_IDirect3DRMLight
(
iface
);
FIXME
(
"(%p/%p)->(): stub
\n
"
,
iface
,
This
);
TRACE
(
"(%p/%p)->()
\n
"
,
iface
,
This
);
return
0
;
return
This
->
penumbra
;
}
}
static
D3DVALUE
WINAPI
IDirect3DRMLightImpl_GetConstantAttenuation
(
IDirect3DRMLight
*
iface
)
static
D3DVALUE
WINAPI
IDirect3DRMLightImpl_GetConstantAttenuation
(
IDirect3DRMLight
*
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