examples: glyphs: do not use event arguments

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-04-29 21:42:42 -07:00
parent 7ad38d6eff
commit a065c79200
2 changed files with 4 additions and 6 deletions

View file

@ -51,7 +51,7 @@ fn init(core: *mach.Core.Mod, sprite_pipeline: *gfx.SpritePipeline.Mod, glyphs:
glyphs.send(.init, .{});
// Prepare which glyphs we will render
glyphs.send(.prepare, .{&[_]u21{ '?', '!', 'a', 'b', '#', '@', '%', '$', '&', '^', '*', '+', '=', '<', '>', '/', ':', ';', 'Q', '~' }});
glyphs.send(.prepare, .{});
// Run our init code after glyphs module is initialized.
game.send(.after_init, .{});