CalderaD icon indicating copy to clipboard operation
CalderaD copied to clipboard

SDL error after SDL_RENDER_DEVICE_RESET

Open DannyArends opened this issue 4 years ago • 0 comments

On Android when minimizing the app, SDL sends out an SDL_RENDER_DEVICE_RESET when the returning to render after the app is closed and re-opened. The description of what should happen is: "the device has been reset and all textures need to be recreated", however there is a warning before W/libEGL: EGLNativeWindowType 0x7494ced450 disconnect failed.

The SDL error on resume is:

    SDL error?: 'OpenGL not initialized'

After this the Vulkan rendering engine ends up throwing:

    E/vulkan: dequeueBuffer failed: No such device (-19)

Reloading the swapchain (even with screen recreation / textures), doesn't help and ends up crashing CalderaD

DannyArends avatar May 16 '21 06:05 DannyArends