Lines Matching refs:glIndex
2404 object->glIndex = -1;
2486 /* Update the live definitions if the light is currently assigned a glIndex */
2487 if (object->glIndex != -1 && !This->isRecordingState) {
2488 IWineD3DDeviceImpl_MarkStateDirty(This, STATE_ACTIVELIGHT(object->glIndex));
2557 if(lightInfo->glIndex != -1) {
2559 IWineD3DDeviceImpl_MarkStateDirty(This, STATE_ACTIVELIGHT(lightInfo->glIndex));
2562 This->updateStateBlock->activeLights[lightInfo->glIndex] = NULL;
2563 lightInfo->glIndex = -1;
2570 if (lightInfo->glIndex != -1) {
2579 lightInfo->glIndex = i;
2583 if(lightInfo->glIndex == -1) {
2595 /* i == lightInfo->glIndex */