In the function OGLESRenderToTexture::InitView() the calls to eglCreatePbufferSurface returns 0x00000000 which makes the program to end.
The previous call to eglChooseConfig function returns true and I get a configuration (0). If I add calls to eglGetError() it returns EGL_SUCCESS before I call eglCreatePbufferSurface and EGL_BAD_MATCH after. I have tried to use different configuration and pbuffer attributes but with no success. I have also downloaded the latest drivers from Intel (126.96.36.19924).
What is going on?