Home | History | Annotate | Download | only in nine

Lines Matching refs:pLight

2113                       const D3DLIGHT9 *pLight )
2118 DBG("This=%p Index=%u pLight=%p\n", This, Index, pLight);
2119 if (pLight)
2120 nine_dump_D3DLIGHT9(DBG_FF, pLight);
2122 user_assert(pLight, D3DERR_INVALIDCALL);
2123 user_assert(pLight->Type < NINED3DLIGHT_INVALID, D3DERR_INVALIDCALL);
2127 hr = nine_state_set_light(&state->ff, Index, pLight);
2131 if (pLight->Type != D3DLIGHT_DIRECTIONAL &&
2132 pLight->Attenuation0 == 0.0f &&
2133 pLight->Attenuation1 == 0.0f &&
2134 pLight->Attenuation2 == 0.0f) {
2141 nine_context_set_light(This, Index, pLight);
2149 D3DLIGHT9 *pLight )
2153 user_assert(pLight, D3DERR_INVALIDCALL);
2158 *pLight = state->ff.light[Index];