Quick question. I’m creating an OpenGL context with SDL 2.0.14. Everything’s working on the Android Studio emulator running Android 11, but when I run this engine on my Pixel 3 (also Android 11), after I go home or switch to another application, when I reenter my application, SDL always sends SDL_RENDER_DEVICE_RESET. I’ve checked Android’s developer settings and I don’t see anything there that would force SDL to reset the OpenGL context. Am I doing something wrong? Again, the emulator doesn’t have this problem at all.
I’m ok with uploading everything back to the GPU every time, but I wanted to check first if anybody else encountered this or has suggestions to avoid Android resetting the OpenGL context.