mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
app/headless,internal/rendertest: report errors from headless renders
Updates gio#144 Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -106,8 +106,8 @@ func (w *Window) Release() {
|
||||
|
||||
// Frame replace the window content and state with the
|
||||
// operation list.
|
||||
func (w *Window) Frame(frame *op.Ops) {
|
||||
contextDo(w.ctx, func() error {
|
||||
func (w *Window) Frame(frame *op.Ops) error {
|
||||
return contextDo(w.ctx, func() error {
|
||||
w.gpu.Collect(w.size, frame)
|
||||
w.gpu.BeginFrame()
|
||||
w.gpu.EndFrame()
|
||||
|
||||
Reference in New Issue
Block a user