example,cmd: bump gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-06-17 11:51:26 +02:00
parent 596e321610
commit dd225d5d07
6 changed files with 18 additions and 25 deletions
+7 -4
View File
@@ -94,10 +94,13 @@ func main() {
sz := image.Point{X: width, Y: height}
ops.Reset()
gtx := layout.Context{
Ops: &ops,
Now: time.Now(),
Queue: &queue,
Config: &glfwConfig{scale},
Ops: &ops,
Now: time.Now(),
Queue: &queue,
Metric: unit.Metric{
PxPerDp: scale,
PxPerSp: scale,
},
Constraints: layout.Exact(sz),
}
draw(gtx, th)