fix for compiling examples/gg/fire.v

This commit is contained in:
Delyan Angelov 2025-07-05 12:24:07 +03:00
parent f0509c1fb9
commit 96e9c7831f
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -60,7 +60,7 @@ fn main() {
mut app := &App{
buf: [][]int{len: height - 1, init: []int{len: width}}
}
app.buf << []int{len: width, init: 36} // white fire base
app.buf << [[]int{len: width, init: 36}] // white fire base
app.gg = gg.new_context(
event_fn: event