I've an OpenGL application in the Google Play Store and I'm facing a daily exception:
java.lang.RuntimeException: eglSwapBuffers failed: EGL_SUCCESS
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1085)
at android.opengl.GLSurfaceView$EglHelper.swap(GLSurfaceView.java:1043)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1369)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1123)
The problem is, on all my smartphones I cannot reproduce this error. I've already contacted Google for any device info, but they have none (so they say). The platform info in the exception is set to "OTHER".
I found some hints on the net that this error could be from a Samsung Galaxy Y device, and I found some suggestions to include:
android:configChanges="orientation|screenSize"
in the Android manifest file, but this does not work!
And of course I've the onPause and onResume handling implemented for my GL surface which, if not, produces other eglSwapBuffer problems.
Has anybody a solution for this problem?
Thanks!