gpu: correct implementation invocations

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-26 23:03:54 -07:00 committed by Stephen Gutekanst
parent 4f91682bc2
commit 39ed9b5822
25 changed files with 638 additions and 638 deletions

View file

@ -1,13 +1,13 @@
const ChainedStruct = @import("types.zig").ChainedStruct;
const impl = @import("interface.zig").impl;
const Impl = @import("interface.zig").Impl;
pub const Surface = *opaque {
pub inline fn reference(surface: Surface) void {
impl.surfaceReference(surface);
Impl.surfaceReference(surface);
}
pub inline fn release(surface: Surface) void {
impl.surfaceRelease(surface);
Impl.surfaceRelease(surface);
}
};