Injured Texas Ranger undergoes surgery on Wednesday