Fix for texture data formats
Merge pull request #114 from tomaka/fix-tex-data

Fix for texture data formats