The error is thrown by this code:
int attrib_list[] = {
#ifdef OPENGLES_1
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES_BIT,
#endif
#ifdef OPENGLES_2
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
#endif
EGL_SURFACE_TYPE, EGL_DONT_CARE,
EGL_NONE
};
int num_configs = 0;
EGLConfig configs[32];
if (!eglChooseConfig(_egl_display, attrib_list, configs, 32, &num_configs) || num_configs <= 0) {
egldisplay_cat.error() << "eglChooseConfig failed: "
<< get_egl_error_string(eglGetError()) << "\n";
return;
}
Because eglGetError() apparently returns EGL_SUCCESS, I can assume that it just returns no available configs.
Are you sure that EGL is supposed to work? The code asks for a GLES2 renderable, does your device really support GLES2? Otherwise you should try the pandagles renderer.