mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 23:55:39 +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
|
||||
return
|
||||
}
|
||||
defer g.Release()
|
||||
defer ctx.Release()
|
||||
initErr <- nil
|
||||
loop:
|
||||
|
||||
Reference in New Issue
Block a user