aboutsummaryrefslogtreecommitdiff
path: root/vendor/stb
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2022-05-25 00:47:29 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2022-05-25 00:47:29 +0200
commit233b32fd3ea4bb50ad1cc41e819bcdca5c3bf4d4 (patch)
treea84b0511468e83ed491ab74bce9fcf1f32f7273b /vendor/stb
parent3c5124ce68110b780f9cd5aaa3801f1f200b98fe (diff)
Correct return value.
Diffstat (limited to 'vendor/stb')
-rw-r--r--vendor/stb/truetype/stb_truetype.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/stb/truetype/stb_truetype.odin b/vendor/stb/truetype/stb_truetype.odin
index b51cb037f..e0c03268e 100644
--- a/vendor/stb/truetype/stb_truetype.odin
+++ b/vendor/stb/truetype/stb_truetype.odin
@@ -226,7 +226,7 @@ foreign stbtt {
// (.ttf) files only contain one font. The number of fonts can be used for
// indexing with the previous function where the index is between zero and one
// less than the total fonts. If an error occurs, -1 is returned.
- GetNumberOfFonts :: proc(data: [^]byte) -> b32 ---
+ GetNumberOfFonts :: proc(data: [^]byte) -> c.int ---
// Each .ttf/.ttc file may have more than one font. Each font has a sequential
// index number starting from 0. Call this function to get the font offset for