diff options
| author | 2016-05-07 23:53:12 +0100 | |
|---|---|---|
| committer | 2016-05-07 23:53:12 +0100 | |
| commit | b61f116e63c5bced61218725ad695fb9f2b0dd13 (patch) | |
| tree | 42aa9968f5cdfc56dc64b894ef0d97f0792efd39 /gb_gl.h | |
| parent | Fix *_appendv bug (diff) | |
Basic Virtual Memory System and Dreadful Free List
Note: Windows only
The Free list allocator is absolutely dreadful!
Diffstat (limited to 'gb_gl.h')
| -rw-r--r-- | gb_gl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1765,7 +1765,7 @@ GB_COMPARE_PROC(gbgl__font_glyph_map_search_proc) gb_inline gbglGlyphInfo * gbgl_get_glyph_info(gbglFont *font, char32 codepoint, isize *out_index) { - isize index = gb_binary_search(font->glyph_map, font->glyph_count, gb_size_of(*font->glyph_map), &codepoint, gbgl__font_glyph_map_search_proc); + isize index = gb_binary_search_array(font->glyph_map, font->glyph_count, &codepoint, gbgl__font_glyph_map_search_proc); if (index >= 0) { GB_ASSERT(codepoint == font->glyph_map[index].codepoint); if (out_index) |
