add(Core.zig): call to deviceTick after platform update
This commit is contained in:
parent
f181ed08d5
commit
404cf1c42a
1 changed files with 1 additions and 0 deletions
|
|
@ -611,6 +611,7 @@ fn presentFrame(core: *Mod, entities: *mach.Entities.Mod) !void {
|
|||
if (num_windows > 1) @panic("mach: Core currently only supports a single window");
|
||||
|
||||
_ = try state.platform.update();
|
||||
mach.sysgpu.Impl.deviceTick(state.device);
|
||||
state.swap_chain.present();
|
||||
|
||||
// Update swapchain for the next frame
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue