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

@ -59,11 +59,9 @@ pub const components = .{
.built = .{ .type = BuiltPipeline, .description = "internal" },
};
pub const global_events = .{
.deinit = .{ .handler = deinit },
};
pub const local_events = .{
.init = .{ .handler = fn () void },
.deinit = .{ .handler = deinit },
.update = .{ .handler = update },
.pre_render = .{ .handler = preRender },
.render = .{ .handler = render },