gpu: add Adapter.release
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
6a3e011809
commit
8453b0d2a6
3 changed files with 14 additions and 12 deletions
|
|
@ -36,6 +36,10 @@ pub const Adapter = *opaque {
|
|||
pub inline fn reference(adapter: Adapter) void {
|
||||
impl.adapterReference(adapter);
|
||||
}
|
||||
|
||||
pub inline fn release(adapter: Adapter) void {
|
||||
impl.adapterRelease(adapter);
|
||||
}
|
||||
};
|
||||
|
||||
pub const RequestDeviceCallback = fn (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue