am a5342f1a: am 850aaaef: Merge "Don\'t throw exception for EGL_BAD_CURRENT_SURFACE (DO NOT MERGE)" into honeycomb-mr2
* commit 'a5342f1a63559e03b64b93c36b3b1e4b69d2990f': Don't throw exception for EGL_BAD_CURRENT_SURFACE (DO NOT MERGE)
This commit is contained in:
@@ -1096,6 +1096,10 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
|
|||||||
// on the expectation that the application will be closed soon.
|
// on the expectation that the application will be closed soon.
|
||||||
Log.e("EglHelper", "eglSwapBuffers returned EGL_BAD_NATIVE_WINDOW. tid=" + Thread.currentThread().getId());
|
Log.e("EglHelper", "eglSwapBuffers returned EGL_BAD_NATIVE_WINDOW. tid=" + Thread.currentThread().getId());
|
||||||
break;
|
break;
|
||||||
|
case EGL10.EGL_BAD_CURRENT_SURFACE:
|
||||||
|
// The window was presumably closed by the window manager.
|
||||||
|
Log.e("EglHelper", "eglSwapBuffers returned EGL_BAD_CURRENT_SURFACE");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throwEglException("eglSwapBuffers", error);
|
throwEglException("eglSwapBuffers", error);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user