diff --git a/vendor/fontstash/fontstash_other.odin b/vendor/fontstash/fontstash_other.odin new file mode 100644 index 000000000..1c2ca3f28 --- /dev/null +++ b/vendor/fontstash/fontstash_other.odin @@ -0,0 +1,10 @@ +//+build js +package fontstash + +AddFontPath :: proc( + ctx: ^FontContext, + name: string, + path: string, +) -> int { + panic("fontstash.AddFontPath is unsupported on the JS target") +}