adding the ability to specify texture wrap on sprites