From 05ec32c331790ffb47bd82d386dfe8477d75e630 Mon Sep 17 00:00:00 2001 From: Larpon Date: Tue, 13 Oct 2020 12:16:51 +0200 Subject: [PATCH] examples: fix sokol/particles to start up faster (#6610) --- examples/sokol/particles/modules/particle/system.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/sokol/particles/modules/particle/system.v b/examples/sokol/particles/modules/particle/system.v index 003e33677b..b77b768f16 100644 --- a/examples/sokol/particles/modules/particle/system.v +++ b/examples/sokol/particles/modules/particle/system.v @@ -21,7 +21,7 @@ mut: pub fn (mut s System) init(sc SystemConfig) { for i := 0; i < sc.pool; i++ { p := new(vec2.Vec2{f32(s.width) * 0.5, f32(s.height) * 0.5}) - s.pool << p + s.bin << p } }