mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
app: release GPU renderer when done with it
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -76,6 +76,7 @@ func (l *renderLoop) renderLoop(ctx window.Context) error {
|
|||||||
initErr <- err
|
initErr <- err
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
defer g.Release()
|
||||||
defer ctx.Release()
|
defer ctx.Release()
|
||||||
initErr <- nil
|
initErr <- nil
|
||||||
loop:
|
loop:
|
||||||
|
|||||||
Reference in New Issue
Block a user