event bus seems to be working

This commit is contained in:
David Allemang
2024-06-27 10:27:39 -04:00
parent 181f29970e
commit 1eaf98973b
3 changed files with 90 additions and 53 deletions

View File

@@ -102,8 +102,10 @@ pub fn main() !void {
// std.debug.print("Initialized!!\n", .{ });
while (!au.W.should_close()) {
au.W.wait_events();
// std.debug.print("Event!!\n", .{ });
au.wait_events();
// if (au.E.events.items.len > 0) {
// std.debug.print("Events: {any}\n", .{au.E.events.items});
// }
}
try au.D.deviceWaitIdle();