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:
parent
3234b6c0dd
commit
40c0659cc9
4 changed files with 6 additions and 9 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue