{gfx,examples}: use core.state().queue
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
68677b3448
commit
431e0dbbe1
6 changed files with 6 additions and 6 deletions
|
|
@ -101,7 +101,7 @@ fn tick(core: *mach.Core.Mod, game: *Mod) !void {
|
|||
// Submit our commands to the queue
|
||||
var command = encoder.finish(&.{ .label = label });
|
||||
defer command.release();
|
||||
mach.core.queue.submit(&[_]*gpu.CommandBuffer{command});
|
||||
core.state().queue.submit(&[_]*gpu.CommandBuffer{command});
|
||||
|
||||
// Present the frame
|
||||
mach.core.swap_chain.present();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue