fix bad colors on OGLES textures and unify texture transfert

Basically, rename m_glFmt to its good OpenGL name ("m_glInternalFmt" for "internal format") and create two static const m_glFmt and m_glType
fix glsl shader not working with OGLES