void DestroyContext() { if (EGLContext != null) { ClearCurrent(); egl.EglDestroyContext(window.Display, EGLContext); EGLContext = null; } }
public void destroyContext(IEGL10 egl, EGLDisplay display, EGLContext context) { egl.EglDestroyContext(display, context); }