examples: revert to 0.4 entrypoint / control API design
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a54d20daa2
commit
80be6b7bca
20 changed files with 105 additions and 56 deletions
|
|
@ -1,5 +1,3 @@
|
|||
const std = @import("std");
|
||||
|
||||
const mach = @import("mach");
|
||||
|
||||
// The global list of Mach modules registered for use in our application.
|
||||
|
|
@ -9,8 +7,9 @@ pub const modules = .{
|
|||
@import("Renderer.zig"),
|
||||
};
|
||||
|
||||
// TODO: move this to a mach "entrypoint" zig module
|
||||
pub fn main() !void {
|
||||
// Initialize mach.Core
|
||||
// Initialize mach core
|
||||
try mach.core.initModule();
|
||||
|
||||
// Main loop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue