Lines Matching refs:pLight
2075 const D3DLIGHT9 *pLight ) in NineDevice9_SetLight() argument
2080 DBG("This=%p Index=%u pLight=%p\n", This, Index, pLight); in NineDevice9_SetLight()
2081 if (pLight) in NineDevice9_SetLight()
2082 nine_dump_D3DLIGHT9(DBG_FF, pLight); in NineDevice9_SetLight()
2084 user_assert(pLight, D3DERR_INVALIDCALL); in NineDevice9_SetLight()
2085 user_assert(pLight->Type < NINED3DLIGHT_INVALID, D3DERR_INVALIDCALL); in NineDevice9_SetLight()
2089 hr = nine_state_set_light(&state->ff, Index, pLight); in NineDevice9_SetLight()
2093 if (pLight->Type != D3DLIGHT_DIRECTIONAL && in NineDevice9_SetLight()
2094 pLight->Attenuation0 == 0.0f && in NineDevice9_SetLight()
2095 pLight->Attenuation1 == 0.0f && in NineDevice9_SetLight()
2096 pLight->Attenuation2 == 0.0f) { in NineDevice9_SetLight()
2103 nine_context_set_light(This, Index, pLight); in NineDevice9_SetLight()
2111 D3DLIGHT9 *pLight ) in NineDevice9_GetLight() argument
2115 user_assert(pLight, D3DERR_INVALIDCALL); in NineDevice9_GetLight()
2120 *pLight = state->ff.light[Index]; in NineDevice9_GetLight()