compiling platform now

This commit is contained in:
Peter Li 2025-11-01 15:19:03 -07:00
parent 180badad39
commit 60dfe0ae60
10 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@ const dependencyList = [_][]const u8{
"core",
"sdl3",
"nfd",
"watcher",
};
pub fn build(b: *std.Build) void {

View File

@ -5,6 +5,7 @@
.core = .{ .path = "../core" },
.sdl3 = .{ .path = "../../lib/sdl3" },
.nfd = .{ .path = "../../lib/nfd" },
.watcher = .{ .path = "../../lib/watcher" },
.shaderTypes = .{ .path = "../../lib/sdl3/shaderTypes" },
},
.paths = .{

View File

@ -56,7 +56,7 @@ pub fn getMouseVisible() bool {
pub fn watchPath(path: []const u8) void {
watchPathPacker(core.fs(), path) catch {
core.engine_log("unable to set up watch on path", .{path});
core.engine_log("unable to set up watch on path {s}", .{path});
};
}
@ -89,7 +89,7 @@ pub fn start_module(spec: *core.SpecVariantMap, args: anytype, allocator: std.me
return;
}
core.getModuleLoader().watchInitializedFn = watchModules;
core.getModuleLoader().watchInitializeFn = watchModules;
const parameters = windowing.PlatformParams.init();