Fix transfer semaphore fiasco

This commit is contained in:
2025-11-27 18:47:08 +01:00
parent da1d740e5c
commit df73f8f501
2 changed files with 30 additions and 8 deletions

View File

@@ -83,10 +83,9 @@ pub fn main() !void {
}
std.log.debug("Exitted the game loop", .{});
std.posix.abort();
//for (swapchain.swapchain_images) |x| engine.waitForFence(x.fence) catch {};
//engine.device.deviceWaitIdle() catch {};
for (swapchain.swapchain_images) |x| engine.waitForFence(x.fence) catch {};
engine.device.deviceWaitIdle() catch {};
}
const CallbackContext = struct {