GLES: A little cleanup and fixed GL errors when using BGRA textures.
GLES: A little cleanup and fixed GL errors when using BGRA textures.

--HG--
branch : v1-7

digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre