heifwriter/src/main/java/androidx/heifwriter/EglWindowSurface.java
public void makeUnCurrent() {
        if (!EGL14.eglMakeCurrent(mEGLDisplay, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_SURFACE,
                EGL14.EGL_NO_CONTEXT)) {
            throw new RuntimeException("eglMakeCurrent failed");
        }
    }
/**
     * Makes our EGL context and surface not current.
     */
Makes our EGL context and surface not current.
Makes our EGL context and surface not current .
public void makeUnCurrent() {
        if (!EGL14.eglMakeCurrent(mEGLDisplay, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_SURFACE,
                EGL14.EGL_NO_CONTEXT)) {
            throw new RuntimeException("eglMakeCurrent failed");
        }
    }
public void makeUnCurrent ( ) { if ( ! EGL14 . eglMakeCurrent ( mEGLDisplay , EGL14 . EGL_NO_SURFACE , EGL14 . EGL_NO_SURFACE , EGL14 . EGL_NO_CONTEXT ) ) { throw new RuntimeException ( "eglMakeCurrent failed" ) ; } }
Makes our EGL context and surface not current.
Makes our EGL context and surface not current .