renderer/metal: underline urls

This commit is contained in:
Mitchell Hashimoto
2023-11-26 12:51:25 -08:00
parent c7ccded359
commit 5db002cb12
5 changed files with 133 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ const options = @import("build_options");
const glfw = @import("glfw");
const glslang = @import("glslang");
const macos = @import("macos");
const oni = @import("oniguruma");
const tracy = @import("tracy");
const cli = @import("cli.zig");
const internal_os = @import("os/main.zig");
@@ -277,6 +278,9 @@ pub const GlobalState = struct {
// Initialize glslang for shader compilation
try glslang.init();
// Initialize oniguruma for regex
try oni.init(&.{oni.Encoding.utf8});
// Find our resources directory once for the app so every launch
// hereafter can use this cached value.
self.resources_dir = try internal_os.resourcesDir(self.alloc);