public void TerminateDisplay() { if (eglDisplay != null) { IEGL10 egl = EGLContext.EGL.JavaCast <IEGL10> (); if (!egl.EglTerminate(eglDisplay)) { Log.Warn("AndroidWindow", "Failed to terminate display {0}.", eglDisplay); } eglDisplay = null; } }