{gfx,examples}: fix refcounting bugs, improve sysgpu compatability
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
cbb728c37a
commit
ca08255ec2
11 changed files with 39 additions and 24 deletions
|
|
@ -96,6 +96,7 @@ fn tick(core: *mach.Core.Mod, game: *Mod) !void {
|
|||
.label = label,
|
||||
.color_attachments = &color_attachments,
|
||||
}));
|
||||
defer render_pass.release();
|
||||
|
||||
// Draw
|
||||
render_pass.setPipeline(game.state().pipeline);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue