all: fix issue with glfw vulkan createWindowSurface; update to new for loop syntax (#713)

This commit is contained in:
Aksel Hjerpbakk 2023-03-02 02:33:17 +01:00 committed by GitHub
parent 5aecbb0ee6
commit 2b6f3fb1d9
Failed to generate hash of commit
14 changed files with 28 additions and 27 deletions

View file

@ -21,7 +21,8 @@ pub const Transcoder = struct {
const h = b.transcoder_init(src.ptr, @intCast(u32, src.len));
return if (!b.transcoder_start_transcoding(h))
error.Unknown
else .{ .handle = h };
else
.{ .handle = h };
}
pub fn deinit(self: Transcoder) void {