cmd/gogio: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-12 15:42:47 +02:00
parent 48cf8af2f2
commit 651e31f7e0
3 changed files with 25 additions and 9 deletions
+2 -2
View File
@@ -31,14 +31,14 @@ func loop(w *app.Window) error {
switch e := e.(type) {
case app.DestroyEvent:
return e.Err
case app.UpdateEvent:
case app.FrameEvent:
ops.Reset()
paint.ColorOp{Color: background}.Add(ops)
paint.PaintOp{Rect: f32.Rectangle{Max: f32.Point{
X: float32(e.Size.X),
Y: float32(e.Size.Y),
}}}.Add(ops)
w.Update(ops)
e.Frame(ops)
}
}
}