Handling gl context lost in android


#1

i get some rare crash reports when swapping buffers that i couldnt reproduce.
i suspect that android os is freeing the gl context.

i was wondering if any one can suggest a proper way of identifying when the gl context have been destroyed unexpectedly so i can re init every thing again?


#2

We may be having a related issue. Does this seem to affect primarily Samsung Galaxy J devices, Galaxy S3, pixel 2…?