SpritePipeline: make .init and .deinit explicit

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-04-28 11:09:53 -07:00 committed by Stephen Gutekanst
parent 3504dfcab6
commit ed9137fe98
4 changed files with 22 additions and 10 deletions

View file

@ -8,12 +8,9 @@ const assets = @import("assets");
pub const name = .glyphs;
pub const Mod = mach.Mod(@This());
pub const global_events = .{
.deinit = .{ .handler = deinit },
};
pub const local_events = .{
.init = .{ .handler = init },
.deinit = .{ .handler = deinit },
.prepare = .{ .handler = prepare },
};