opengl translator: fixed glGetString(GL_EXTENSIONS) for GLESv2

fixed query of GL_EXTENSIONS in glesv2.
Also fixed EGL surface desruction when there is
no current context.
2 files changed