Home
last modified time | relevance | path

Searched refs:realLight (Results 1 – 1 of 1) sorted by relevance

/reactos/dll/directx/wine/wined3d/
H A Dstateblock.c640 … struct wined3d_light_info *src = LIST_ENTRY(e, struct wined3d_light_info, entry), *realLight; in wined3d_state_record_lights() local
645 realLight = LIST_ENTRY(f, struct wined3d_light_info, entry); in wined3d_state_record_lights()
646 if (realLight->OriginalIndex == src->OriginalIndex) in wined3d_state_record_lights()
648 src->OriginalParms = realLight->OriginalParms; in wined3d_state_record_lights()
650 if (realLight->glIndex == -1 && src->glIndex != -1) in wined3d_state_record_lights()
655 else if (realLight->glIndex != -1 && src->glIndex == -1) in wined3d_state_record_lights()
658 dst_state->lights[realLight->glIndex] = src; in wined3d_state_record_lights()
660 src->glIndex = realLight->glIndex; in wined3d_state_record_lights()