SpritePipeline: make .init and .deinit explicit
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3504dfcab6
commit
ed9137fe98
4 changed files with 22 additions and 10 deletions
|
|
@ -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 },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue