void function ( ) { eglReleaseCurrent ( drawable . getEGLDisplay ( ) ) ; org . lwjgl . opengles . GLContext . useContext ( null ) ; current_context_local . set ( null ) ; synchronized ( this ) { thread = null ; checkDestroy ( ) ; } }
release the current context if any . after this call , no context is current . concode_field_sep DrawableGLES drawable concode_elem_sep boolean destroyed concode_elem_sep ThreadLocal<ContextGLES> current_context_local concode_elem_sep EGLContext eglContext concode_elem_sep boolean destroy_requested concode_elem_sep org.lwjgl.opengles.ContextAttribs contextAttribs concode_elem_sep Thread thread concode_field_sep void swapBuffers concode_elem_sep void makeCurrent concode_elem_sep void checkDestroy concode_elem_sep EGLContext getEGLContext concode_elem_sep org.lwjgl.opengles.ContextAttribs getContextAttribs concode_elem_sep ContextGLES getCurrentContext concode_elem_sep void destroy concode_elem_sep void releaseDrawable concode_elem_sep void setSwapInterval concode_elem_sep void checkAccess concode_elem_sep void forceDestroy concode_elem_sep boolean isCurrent concode_elem_sep boolean canAccess