Skip to content

Commit

Permalink
object: add TODO; fix non-aarch64 macos builds
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
emidoots committed Nov 24, 2024
1 parent 8d9e252 commit 2d00131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/module.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d00131

Please sign in to comment.