Lines Matching refs:glIndex
1832 object->glIndex = -1;
1847 /* Update the live definitions if the light is currently assigned a glIndex. */
1848 if (object->glIndex != -1 && !device->isRecordingState)
1852 device_invalidate_state(device, STATE_ACTIVELIGHT(object->glIndex));
2001 if (light_info->glIndex != -1)
2006 device_invalidate_state(device, STATE_ACTIVELIGHT(light_info->glIndex));
2009 device->updateStateBlock->state.lights[light_info->glIndex] = NULL;
2010 light_info->glIndex = -1;
2021 if (light_info->glIndex != -1)
2035 light_info->glIndex = i;
2039 if (light_info->glIndex == -1)
2051 /* i == light_info->glIndex */