Robert Glasser and Joey Acosta, both 22, were treated at a hospital in El Paso, Texas, after the shooting Thursday evening in nearby Chaparral.
Authorities said Glasser was struck in the hand when the gun accidentally went off, and Acosta was hit in the left arm. Their injuries were not life-threatening, authorities said.