mach: App.update will now return !void instead of !bool

In order to close the application, there is already
Engine.setShouldClose() which would roughly do the same thing.
This commit is contained in:
iddev5 2022-06-08 12:44:27 +05:30 committed by Stephen Gutekanst
parent 3234b6c0dd
commit 40c0659cc9
4 changed files with 6 additions and 9 deletions

View file

@ -511,8 +511,6 @@ pub fn main() !void {
engine.current_desc = engine.target_desc;
}
const success = try app.update(&engine);
if (!success)
break;
try app.update(&engine);
}
}