Skip to content

Commit

Permalink
fix compilation errors with latest Odin compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
macsmol committed Nov 5, 2022
1 parent 02ce47f commit 1027a89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions allocator.odin
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ TrackedAllocator :: proc(
// TODO
case .Query_Features:
// TODO
case .Alloc_Non_Zeroed:
// TODO
}
}
return new_memory, error;
Expand Down
1 change: 0 additions & 1 deletion demo/demo.odin
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ main :: proc() {
NUM_WORKERS :: 3;

sync.barrier_init(&bar, 1 + NUM_WORKERS);
defer sync.barrier_destroy(&bar);

for i in 1..NUM_WORKERS {
context.user_index = i;
Expand Down

0 comments on commit 1027a89

Please sign in to comment.