Merge pull request #243 from OdyX/dev-fix-textures-loading

Fix the detection of alpha-channel in textures as created by IMG_Load
Revert "Merge pull request #243 from OdyX/dev-fix-textures-loading"

Looks like it doesn't work on all platforms