Skip to content

Commit 34be2e4

Browse files
committed
examples: fix core-custom-entrypoint example
Signed-off-by: Emi <emi@hexops.com>
1 parent b279167 commit 34be2e4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • examples/core-custom-entrypoint

examples/core-custom-entrypoint/App.zig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ const gpu = mach.gpu;
33

44
const App = @This();
55

6+
// The set of Mach modules our application may use.
7+
pub const Modules = mach.Modules(.{
8+
mach.Core,
9+
App,
10+
});
11+
612
pub const mach_module = .app;
713

814
pub const mach_systems = .{ .main, .init, .deinit, .tick };

0 commit comments

Comments
 (0)