aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2025-10-15 01:52:18 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2025-10-15 01:52:18 -0500
commit0e64ca99fa78897657fad62f420e92b19d22cf19 (patch)
treea4862b97d4c6b1f0db3512839ab42953ab3747d8 /src/main.zig
parenta6b7451d7f144fc0658354e3dbd297cb9aeb9e6c (diff)
downloadparticle-sim-0e64ca99fa78897657fad62f420e92b19d22cf19.tar.gz
Loading and saving rules now works
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index aa410a1..4aaea4c 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -124,6 +124,6 @@ pub fn main() !void {
part.updatePosition(&particles);
part.draw(particles);
- try img.update(allocator, buf);
+ try img.update(buf);
}
}