diff --git a/app/internal/egl/egl.go b/app/internal/egl/egl.go index f1d25957..3314cb55 100644 --- a/app/internal/egl/egl.go +++ b/app/internal/egl/egl.go @@ -70,8 +70,6 @@ func (c *Context) Release() { c.ReleaseSurface() if c.eglCtx != nil { eglDestroyContext(c.disp, c.eglCtx.ctx) - eglTerminate(c.disp) - eglReleaseThread() c.eglCtx = nil } c.disp = nilEGLDisplay