ui/app: (macOS) don't release opengl context

I haven't found a reliable way to re-create the context and redraw
after deminiaturization or app unhide.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-20 16:22:41 +02:00
parent 05f0c3e22a
commit cd244f21ab
3 changed files with 0 additions and 8 deletions
-2
View File
@@ -50,8 +50,6 @@ func (c *context) Release() {
c.Lock()
defer c.Unlock()
C.gio_clearCurrentContext()
C.gio_clearGLContext(c.view)
c.ctx = 0
}
func (c *context) Present() error {