19:12:39.485 E [SurfaceView[org.libsdl.app/org.libsdl.app.SDLActivity]#1(BLAST Consumer)1](id:4a6c00000001,api:1,p:19052,c:19052) connect: already connected (cur=1 req=1)
19:12:39.486 E eglCreateWindowSurface: native_window_api_connect (win=0x704449f810) failed (0xffffffea) (already connected to another API?)
19:12:39.486 E eglCreateWindowSurfaceTmpl:676 error 3003 (EGL_BAD_ALLOC)
19:12:39.486 I pixel format wanted SDL_PIXELFORMAT_RGBA8888 (1), got SDL_PIXELFORMAT_RGBA8888 (1)
19:12:39.529 D Compat change id reported: 171228096; UID 10437; state: ENABLED
19:12:39.605 V onWindowFocusChanged(): false
Currently it fails to re-initiale GLES2, because
19:12:39.486 E eglCreateWindowSurface: native_window_api_connect (win=0x704449f810) failed (0xffffffea) (already connected to another API?)
surfaceView hasn't been destroyed, and is somehow still connected.
It should be possible to re-do
Currently it fails to re-initiale GLES2, because
19:12:39.486 E eglCreateWindowSurface: native_window_api_connect (win=0x704449f810) failed (0xffffffea) (already connected to another API?)
surfaceView hasn't been destroyed, and is somehow still connected.
workaround is to minimize the window:
(see #7585 https://github.com/libsdl-org/SDL/issues/7567 )