Fixing core to work with win32 #1257
This commit is contained in:
parent
17450fde65
commit
13e53e7176
3 changed files with 8 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ pub fn main() !void {
|
|||
// possible on all platforms.
|
||||
if (mach.Core.supports_non_blocking) {
|
||||
mach.Core.non_blocking = true;
|
||||
while (mach.mods.mod.mach_core.state != .exited) {
|
||||
while (mach.mods.mod.mach_core.state().state != .exited) {
|
||||
// Execute systems until a frame has been finished.
|
||||
try mach.mods.dispatchUntil(stack_space, .mach_core, .frame_finished);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue