gpu: convert *opaque -> opaque for TextureView

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-29 23:01:55 -07:00 committed by Stephen Gutekanst
parent f59435f0b0
commit 3589e9cbaf
4 changed files with 7 additions and 7 deletions

View file

@ -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);
}