Add support for more texture formats
Merge pull request #333 from lucidd/#330

Add support for more texture formats