diff --git a/src/Core.zig b/src/Core.zig index ae3b724b..0c9ab8b2 100644 --- a/src/Core.zig +++ b/src/Core.zig @@ -30,7 +30,7 @@ pub var non_blocking = false; pub const mach_module = .mach_core; -pub const mach_systems = .{ .main, .init, .presentFrame, .deinit }; +pub const mach_systems = .{ .main, .init, .tick, .presentFrame, .deinit }; windows: mach.Objects(struct { // Window title string diff --git a/src/module.zig b/src/module.zig index 0da8b953..a5d90e06 100644 --- a/src/module.zig +++ b/src/module.zig @@ -31,6 +31,7 @@ pub fn Objects(comptime T: type) type { allocator: std.mem.Allocator, /// Mutex to be held when operating on these objects. + /// TODO(object): replace with RwLock and update website docs to indicate this mu: std.Thread.Mutex = .{}, /// A registered ID indicating the type of objects being represented. This can be