mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user