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
|
|
@ -216,7 +216,7 @@ fn intToError(int: c_int) Error {
|
|||
test {
|
||||
testing.refAllDeclsRecursive(@This());
|
||||
|
||||
var model_file = try std.fs.cwd().openFile( thisDir("/../assets/cube.m3d"), .{});
|
||||
var model_file = try std.fs.cwd().openFile(thisDir("/../assets/cube.m3d"), .{});
|
||||
defer model_file.close();
|
||||
var model_data = try model_file.readToEndAllocOptions(testing.allocator, 1024, 119, @alignOf(u8), 0);
|
||||
defer testing.allocator.free(model_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue