{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
|
|
@ -219,7 +219,7 @@ fn endFrame(game: *Mod, core: *mach.Core.Mod) !void {
|
|||
var command = game.state().frame_encoder.finish(&.{ .label = label });
|
||||
game.state().frame_encoder.release();
|
||||
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