misc cleanup

This commit is contained in:
David Allemang
2024-07-15 17:14:24 -04:00
parent 8c3e65fced
commit b5eb8fb5da
5 changed files with 81 additions and 67 deletions

View File

@@ -56,7 +56,7 @@ pub fn teardown() void {
au.deinit();
}
pub fn render(engine: anytype) !void {
pub fn render() !void {
const flight: au.Flights.Flight = flights.next();
try flight.wait();
@@ -84,7 +84,7 @@ pub fn render(engine: anytype) !void {
// todo manage frame in flight state for each hook; pass the current flight in as context.
engine.invoke("present", .{cmd});
nu.engine.invoke("present", .{cmd});
target.end_rendering(cmd);
try cmd.endCommandBuffer();