Leonov Oleg
Leonov Oleg
I have the same problem. Solution needed.
The same problem java.lang.RuntimeException: eglSwapBuffers failed: EGL_BAD_ALLOC at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1229) at android.opengl.GLSurfaceView$EglHelper.swap(GLSurfaceView.java:1187) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1514) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1267)
BaseGameActivity already has calls onPause and onResume for GLSurfaceView so http://stackoverflow.com/questions/6039107/android-glsurfaceview-egl-bad-alloc is not solution.