all: fix issue with glfw vulkan createWindowSurface; update to new for loop syntax (#713)
This commit is contained in:
parent
5aecbb0ee6
commit
2b6f3fb1d9
14 changed files with 28 additions and 27 deletions
|
|
@ -299,7 +299,7 @@ const Wasmserve = struct {
|
|||
};
|
||||
|
||||
fn dropFragment(input: []const u8) []const u8 {
|
||||
for (input) |c, i|
|
||||
for (input, 0..) |c, i|
|
||||
if (c == '?' or c == '#')
|
||||
return input[0..i];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue