runtime hooks

This commit is contained in:
David Allemang
2024-07-10 13:06:44 -04:00
parent e297865e93
commit fd1bd9dbf5
6 changed files with 138 additions and 51 deletions

View File

@@ -33,17 +33,20 @@ pub fn main() !void {
defer _ = gpa.detectLeaks();
const alloc = gpa.allocator();
nu.init(alloc);
defer nu.deinit();
try nu.Window.init(alloc);
defer nu.Window.deinit();
try nu.Render.init(alloc);
defer nu.Render.deinit();
try nu.ImGui.init();
try nu.ImGui.init(alloc);
defer nu.ImGui.deinit();
try App.init(alloc);
defer App.deinit();
try nu.run();
try nu.run(alloc);
}