{vulkan,examples}: fix descriptor set bug
This commit is contained in:
parent
266e7a548b
commit
0023ab14fb
6 changed files with 45 additions and 48 deletions
|
|
@ -104,6 +104,8 @@ fn update(core: *mach.Core.Mod, game: *Mod) !void {
|
|||
defer command.release();
|
||||
core.state().queue.submit(&[_]*gpu.CommandBuffer{command});
|
||||
|
||||
core.schedule(.present_frame);
|
||||
|
||||
// update the window title every second
|
||||
if (game.state().title_timer.read() >= 1.0) {
|
||||
game.state().title_timer.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue