diff options
| author | Micha White <botahamec@outlook.com> | 2022-10-20 23:19:00 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2022-10-20 23:19:00 -0400 |
| commit | 11077150cbc909e414cf5b27f18d02629e6b01da (patch) | |
| tree | bb1bfd66457e4d901be5225abf0aeeef8c06316d /alligator_render/examples/bmp.rs | |
| parent | 09df670b8e45a3ffe2853773e648b80b6b6d6254 (diff) | |
Made the run function generic
Diffstat (limited to 'alligator_render/examples/bmp.rs')
| -rw-r--r-- | alligator_render/examples/bmp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alligator_render/examples/bmp.rs b/alligator_render/examples/bmp.rs index 23842a9..b8ce00c 100644 --- a/alligator_render/examples/bmp.rs +++ b/alligator_render/examples/bmp.rs @@ -84,5 +84,5 @@ fn main() { ..Default::default() }); - renderer.run(Box::leak(Box::new(update))); + renderer.run(update); } |
