A 17-year-old boy drowned while swimming near Cape’s Dam on the San Marcos River, the city of San Marcos said.