gpu: convert *opaque -> opaque for SwapChain

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-29 23:00:48 -07:00 committed by Stephen Gutekanst
parent 2c1a8240c5
commit f59435f0b0
4 changed files with 11 additions and 11 deletions

View file

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