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
af377aca
Commit
af377aca
authored
Jan 13, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Get rid of dump_light().
parent
d9051bbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
light.c
dlls/ddraw/light.c
+0
-30
No files found.
dlls/ddraw/light.c
View file @
af377aca
...
...
@@ -166,24 +166,6 @@ static HRESULT WINAPI d3d_light_Initialize(IDirect3DLight *iface, IDirect3D *d3d
return
D3D_OK
;
}
/*****************************************************************************
* IDirect3DLight::SetLight
*
* Assigns a lighting value to this object
*
* Params:
* Light: Lighting parameter to set
*
* Returns:
* D3D_OK on success
* DDERR_INVALIDPARAMS if Light is NULL
*
*****************************************************************************/
static
void
dump_light
(
const
D3DLIGHT2
*
light
)
{
TRACE
(
" - dwSize : %d
\n
"
,
light
->
dwSize
);
}
static
const
float
zero_value
[]
=
{
0
.
0
,
0
.
0
,
0
.
0
,
0
.
0
};
...
...
@@ -195,12 +177,6 @@ static HRESULT WINAPI d3d_light_SetLight(IDirect3DLight *iface, D3DLIGHT *data)
TRACE
(
"iface %p, data %p.
\n
"
,
iface
,
data
);
if
(
TRACE_ON
(
ddraw
))
{
TRACE
(
" Light definition :
\n
"
);
dump_light
((
D3DLIGHT2
*
)
data
);
}
if
((
!
data
->
dltType
)
||
(
data
->
dltType
>
D3DLIGHT_PARALLELPOINT
))
return
DDERR_INVALIDPARAMS
;
...
...
@@ -252,12 +228,6 @@ static HRESULT WINAPI d3d_light_GetLight(IDirect3DLight *iface, D3DLIGHT *lpLigh
TRACE
(
"iface %p, light %p.
\n
"
,
iface
,
lpLight
);
if
(
TRACE_ON
(
ddraw
))
{
TRACE
(
" Returning light definition :
\n
"
);
dump_light
(
&
light
->
light
);
}
wined3d_mutex_lock
();
memcpy
(
lpLight
,
&
light
->
light
,
lpLight
->
dwSize
);
wined3d_mutex_unlock
();
...
...
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