void GLThingManager::updateThings(GLContextData& contextData) const { /* Perform all actions on the process list in order: */ for(const ThingAction* taPtr=firstProcessAction;taPtr!=0;taPtr=taPtr->succ) { if(taPtr->action==ThingAction::INIT) { /* Call the thing's context initialization routine: */ taPtr->thing->initContext(contextData); } else { /* Delete the context data item associated with the thing: */ contextData.removeDataItem(taPtr->thing); } } }