Update to zig master

This commit is contained in:
antlilja
2024-05-16 13:15:18 +02:00
parent aa3808940e
commit 949de7684e
3 changed files with 6 additions and 6 deletions

View File

@@ -105,7 +105,7 @@ pub const ShaderCompileStep = struct {
/// Returns the file source for the generated shader resource code.
pub fn getSource(self: *ShaderCompileStep) Build.LazyPath {
return .{ .generated = &self.generated_file };
return .{ .generated = .{ .file = &self.generated_file } };
}
/// Add a shader to be compiled. `src` is shader source path, relative to the project root.