Sync up EAGLWindow with the bug fixes from GL ES 2.
Sync up EAGLWindow with the bug fixes from GL ES 2.

--HG--
branch : v1-8

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