Code example for EGL10

Methods: eglChooseConfig, eglGetError