vendor/fontstash: fix 'AddFont' proc group for JS target

This commit is contained in:
Laytan Laats
2024-07-04 16:50:58 +02:00
parent 1eb0bc1408
commit bcdb202639
+10
View File
@@ -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")
}