Lines Matching refs:glIndex
567 if (realLight->glIndex == -1 && src->glIndex != -1)
570 This->activeLights[src->glIndex] = NULL;
572 else if (realLight->glIndex != -1 && src->glIndex == -1)
575 This->activeLights[realLight->glIndex] = src;
577 src->glIndex = realLight->glIndex;
591 if (src->glIndex != -1)
593 This->activeLights[src->glIndex] = NULL;
594 src->glIndex = -1;
889 IWineD3DDevice_SetLightEnable(pDevice, light->OriginalIndex, light->glIndex != -1);