shaderexp: update to latest mach/core API

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-01-17 00:18:37 -07:00 committed by Stephen Gutekanst
parent 8082228186
commit 02ba76a95b

View file

@ -25,7 +25,7 @@ fragment_shader_code: [:0]const u8,
last_mtime: i128, last_mtime: i128,
pub fn init(app: *App) !void { pub fn init(app: *App) !void {
app.core = try mach.Core.init(allocator, .{ .title = "shaderexp" }); try app.core.init(allocator, .{ .title = "shaderexp" });
var fragment_file: std.fs.File = undefined; var fragment_file: std.fs.File = undefined;
var last_mtime: i128 = undefined; var last_mtime: i128 = undefined;