gpu: convert *opaque -> opaque for TextureView
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f59435f0b0
commit
3589e9cbaf
4 changed files with 7 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ const Impl = @import("interface.zig").Impl;
|
|||
const copy_stride_undefined = @import("main.zig").copy_stride_undefined;
|
||||
|
||||
pub const Texture = *opaque {
|
||||
pub inline fn createView(texture: Texture, descriptor: ?*const TextureViewDescriptor) TextureView {
|
||||
pub inline fn createView(texture: Texture, descriptor: ?*const TextureViewDescriptor) *TextureView {
|
||||
return Impl.textureCreateView(texture, descriptor);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue