| 356 | } |
| 357 | |
| 358 | static void AddGlyph(dmRender::HFontMap font_map, uint64_t key, FontGlyph* glyph) |
| 359 | { |
| 360 | if (font_map->m_Glyphs.Full()) |
| 361 | font_map->m_Glyphs.OffsetCapacity(16); |
| 362 | font_map->m_Glyphs.Put(key, glyph); |
| 363 | } |
| 364 | |
| 365 | static FontResult HandleCacheMiss(dmRender::HFontMap font_map, HFont font, uint32_t glyph_index, uint64_t key, FontGlyph** glyph) |
| 366 | { |
no test coverage detected