gpu: convert *opaque -> opaque for SwapChain
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
2c1a8240c5
commit
f59435f0b0
4 changed files with 11 additions and 11 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue