Skip to content

Commit

Permalink
engine: init device
Browse files Browse the repository at this point in the history
  • Loading branch information
alichraghi authored and slimsag committed Aug 5, 2023
1 parent ebd2007 commit 7c0b796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/engine.zig
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub const Module = struct {

core.allocator = allocator;
try core.init(.{});
mach.state().device = core.device;
mach.state().exit = false;

try adapter.send(.init);
Expand Down

0 comments on commit 7c0b796

Please sign in to comment.