module: rename events -> systems, remove 'event arguments'
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
83d436ffa4
commit
22ac26b57e
19 changed files with 287 additions and 320 deletions
|
|
@ -26,7 +26,7 @@ pub const components = .{
|
|||
.scale = .{ .type = f32 },
|
||||
};
|
||||
|
||||
pub const events = .{
|
||||
pub const systems = .{
|
||||
.init = .{ .handler = init },
|
||||
.deinit = .{ .handler = deinit },
|
||||
.render_frame = .{ .handler = renderFrame },
|
||||
|
|
@ -185,5 +185,5 @@ fn renderFrame(
|
|||
core.state().queue.submit(&[_]*gpu.CommandBuffer{command});
|
||||
|
||||
// Present the frame
|
||||
core.send(.present_frame, .{});
|
||||
core.schedule(.present_frame);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue