ddraw: Get rid of dump_light().
This commit is contained in:
parent
d9051bbe93
commit
af377acabe
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue