mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-07 19:14:19 +00:00
Merge pull request #3870 from laytan/fix-fontstash-proc-group
vendor/fontstash: fix 'AddFont' proc group for JS target
This commit is contained in:
10
vendor/fontstash/fontstash_other.odin
vendored
Normal file
10
vendor/fontstash/fontstash_other.odin
vendored
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user