Skip to content

Commit

Permalink
Merge pull request #3870 from laytan/fix-fontstash-proc-group
Browse files Browse the repository at this point in the history
vendor/fontstash: fix 'AddFont' proc group for JS target
  • Loading branch information
Kelimion authored Jul 4, 2024
2 parents 5247d37 + bcdb202 commit 3c2161b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vendor/fontstash/fontstash_other.odin
Original file line number Diff line number Diff line change
@@ -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")
}

0 comments on commit 3c2161b

Please sign in to comment.