Fix #146 about change Texture.setType to setInternalFormatType
Merge pull request #211 from cedricpinson/fix-texture-setType-issue-146

Fix #146 about change Texture.setType to setInternalFormatType