OpenGLES2 functions only loaded once.

And support for borderless window. And fix compilation error on linux.