mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
vendor/fontstash: fix 'AddFont' proc group for JS target
This commit is contained in:
+10
@@ -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")
|
||||
}
|
||||
Reference in New Issue
Block a user