mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-17 14:47:19 +01:00
ca184ac386
Occurs when application goes to background: - Java activity is destroying SurfaceView holder and "egl_surface" (in onNativeSurfaceDestroyed()) - While native thread is in Android_GLES_SwapWindow(), prepared to call SDL_EGL_SwapBuffers() The error is "call to eglSwapBuffers failed, reporting an error of EGL_BAD_SURFACE" It an be reproduced easily by adding a SDL_Delay(100) at the begining of SDL_EGL_SwapBuffers(), and putting the application into background. |
||
---|---|---|
.. | ||
SDL_androidclipboard.c | ||
SDL_androidclipboard.h | ||
SDL_androidevents.c | ||
SDL_androidevents.h | ||
SDL_androidgl.c | ||
SDL_androidgl.h | ||
SDL_androidkeyboard.c | ||
SDL_androidkeyboard.h | ||
SDL_androidmessagebox.c | ||
SDL_androidmessagebox.h | ||
SDL_androidmouse.c | ||
SDL_androidmouse.h | ||
SDL_androidtouch.c | ||
SDL_androidtouch.h | ||
SDL_androidvideo.c | ||
SDL_androidvideo.h | ||
SDL_androidvulkan.c | ||
SDL_androidvulkan.h | ||
SDL_androidwindow.c | ||
SDL_androidwindow.h |