misc cleanup
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user