diff --git a/examples/sokol/particles/modules/particle/system.v b/examples/sokol/particles/modules/particle/system.v index 4f0382beff..a1573abb03 100644 --- a/examples/sokol/particles/modules/particle/system.v +++ b/examples/sokol/particles/modules/particle/system.v @@ -19,6 +19,8 @@ mut: } pub fn (mut s System) init(sc SystemConfig) { + unsafe { s.pool.flags.set(.noslices) } + unsafe { s.bin.flags.set(.noslices) } for i := 0; i < sc.pool; i++ { p := new(vec2.Vec2{f32(s.width) * 0.5, f32(s.height) * 0.5}) s.bin << p