Skip to main content

I am implementing a pause menu for my game in Android.

If the activity pauses and then resumeresumes, It loseit loses the OpenGlOpenGL context. However, if you use setPreserveEGLContextOnPause(true) it MAYMAY preserve the context if the device supportsupports it.

How I can I check if the context has been preserved or not?

I am implementing a pause menu for my game in Android.

If the activity pauses and then resume, It lose the OpenGl context. However if you use setPreserveEGLContextOnPause(true) it MAY preserve the context if the device support it.

How I can check if the context has been preserved or not?

I am implementing a pause menu for my game in Android.

If the activity pauses and then resumes, it loses the OpenGL context. However, if you use setPreserveEGLContextOnPause(true) it MAY preserve the context if the device supports it.

How can I check if the context has been preserved or not?

Source Link
D4rWiNS
  • 303
  • 1
  • 18

How to know when Android OpenGL Context has been preserved?

I am implementing a pause menu for my game in Android.

If the activity pauses and then resume, It lose the OpenGl context. However if you use setPreserveEGLContextOnPause(true) it MAY preserve the context if the device support it.

How I can check if the context has been preserved or not?