{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
|
|
@ -38,7 +38,8 @@ pub const name = .app;
|
|||
// Note that Mod.state() returns an instance of our module struct.
|
||||
pub const Mod = mach.Mod(@This());
|
||||
|
||||
pub fn deinit(core: *mach.Core.Mod) void {
|
||||
pub fn deinit(core: *mach.Core.Mod, renderer: *Renderer.Mod) void {
|
||||
renderer.send(.deinit, .{});
|
||||
core.send(.deinit, .{});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue