fix running on laptop
This commit is contained in:
@@ -273,6 +273,8 @@ pub fn main() !void {
|
||||
break;
|
||||
} else |err| switch (err) {
|
||||
error.OutOfDateKHR => {
|
||||
_ = try au.D.waitForFences(1, &.{flight.fence}, vk.TRUE, std.math.maxInt(u64));
|
||||
try au.D.resetFences(1, &.{flight.fence});
|
||||
sc.mark();
|
||||
continue;
|
||||
},
|
||||
|
Reference in New Issue
Block a user