ptitSeb
Serial Porter
Are the sources of that libEGL available somewhere?
I'm trying to compile current PPSSPP, but the EGL won't initialize. I get a EGL_BAD_ALLOC(0x3003) error on the eglInitialize( g_eglDisplay, NULL, NULL) call. I have check that g_eglDisplay is correct.
The PPSSPP initialize is based on portegl from Pickles.
It use SDL, and SDL is first Iinitalised with a
SDL_Init(SDL_VIDEO_INIT);
then a
g_Display = XDisplayOpen( NULL)
error checks...
then
g_eglDisplay = eglGetDisplay((NativeDisplayType)g_Display)
error checks..
after that, it's the
eglInitialize(g_eglDisplay, NULL, NULL)
that fail.
The previous version used the same initialisation schemed and worked. So I wanted to peek inside libEGL to understand how a EGL_BAD_ALLOC can happens inside eglInitialize.
I'm trying to compile current PPSSPP, but the EGL won't initialize. I get a EGL_BAD_ALLOC(0x3003) error on the eglInitialize( g_eglDisplay, NULL, NULL) call. I have check that g_eglDisplay is correct.
The PPSSPP initialize is based on portegl from Pickles.
It use SDL, and SDL is first Iinitalised with a
SDL_Init(SDL_VIDEO_INIT);
then a
g_Display = XDisplayOpen( NULL)
error checks...
then
g_eglDisplay = eglGetDisplay((NativeDisplayType)g_Display)
error checks..
after that, it's the
eglInitialize(g_eglDisplay, NULL, NULL)
that fail.
The previous version used the same initialisation schemed and worked. So I wanted to peek inside libEGL to understand how a EGL_BAD_ALLOC can happens inside eglInitialize.
Last edited by a moderator: