mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00: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