example,cmd: bump gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-05-03 21:06:02 +02:00
parent 8d9612f9aa
commit a1166e6652
11 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ func main() {
gofont.Register()
f := new(goglFunctions)
var queue router.Router
gtx := layout.NewContext(&queue)
gtx := new(layout.Context)
th := material.NewTheme()
backend, err := giogl.NewBackend(f)
if err != nil {
@@ -84,7 +84,7 @@ func main() {
}
width, height := window.GetSize()
sz := image.Point{X: width, Y: height}
gtx.Reset(&glfwConfig{scale}, sz)
gtx.Reset(&queue, &glfwConfig{scale}, sz)
draw(gtx, th)
gpu.Collect(sz, gtx.Ops)
gpu.BeginFrame()