eglCreateWindowSurface failing with EGL_BAD_ALLOC

I am new to EGL and openGL. I am trying to run the example from the PowerVR package and failed on the first simple example. I am running on native UBUNTU 14.04 on my Laptop with hardware accelration on (i915).
the eglCreateWindowSurface returns with the error EGL_BAD_ALLOC. Can anyone point to me what could be causing this error? The config and display function of egl do not throw any error. I do not understand what resources are not being allocated?

Would appreciate anyone who can help me.

Thanks.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.