mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
example,cmd: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user